/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
  --secondary: #e07a2a;
  --accent: #e07a2a;
  --gradient-primary: linear-gradient(135deg, #e07a2a, #b85c00);
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    background: #000;
  }
  to {
    opacity: 1;
    background: #000;
  }
}

/* Globální plynulé přechody pro všechny hover efekty */
* {
  transition: all 0.3s ease-in-out;
}

/* Odstranění text-decoration z odkazů */
a {
  text-decoration: none;
}

:root {
  --primary: #ff4444;
  --primary-dark: #cc3333;
  --secondary: #e07a2a;
  --accent: #e07a2a;
  --bg: #000;
  --bg-alt: #111;
  --bg-card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --text-light: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --radius: 8px;
  --gradient-primary: linear-gradient(135deg, #e07a2a, #b85c00);
  --gradient-secondary: linear-gradient(135deg, #000, #111, #222);
}

/* Dark Theme */
body {
  --primary: #ff4444;
  --primary-dark: #cc3333;
  --secondary: #e07a2a;
  --accent: #e07a2a;
  --bg: #000;
  --bg-alt: #111;
  --bg-card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --text-light: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --radius: 8px;
  --gradient-primary: linear-gradient(135deg, #e07a2a, #b85c00);
  --gradient-secondary: linear-gradient(135deg, #000, #111, #222);
}

/* NAVIGATION */
.nav {
  width: 100vw;
  left: 0;
  right: 0;
  margin-left: calc(-50vw + 50%);
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text);
  position: fixed;
  top: 0;
  z-index: 100;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(255, 68, 68, 0.13);
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.nav {
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-text {
  display: inline;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}



.logo-text {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: "Instrument Sans", sans-serif;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.logo-text:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.h-logo {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-center {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  border: none !important;
  display: inline-block;
  padding-bottom: 2px;
}



.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom: none;
  border-radius: 0;
  transform: none !important;
  box-shadow: none !important;
  background: none !important;
  border-color: inherit !important;
  filter: none !important;
  transition: none !important;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 120px;
  background: var(--bg);
  overflow: hidden;
  pointer-events: none;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: all 0.3s ease;
  filter: blur(4px);
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  pointer-events: auto;
  transform: translateY(-50px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 68, 68, 0.08);
  border: 1px solid rgba(255, 68, 68, 0.15);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  animation: glow-pulse 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow:
      0 0 20px rgba(255, 68, 68, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  50% {
    box-shadow:
      0 0 35px rgba(255, 68, 68, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

.hero-title,
.hero-title.no-bg {
  font-size: 4.5rem;
  font-weight: 700 !important;
  font-family: "Instrument Sans", sans-serif !important;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.title-line {
  display: block;
  animation: slideInUp 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  opacity: 0;
  transform: translateY(60px) translateZ(0);
}

.title-line:nth-child(1) {
  animation-delay: 0.4s;
}

.title-line:nth-child(2) {
  animation-delay: 0.6s;
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(60px) translateZ(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.highlight-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

@keyframes highlight-grow {
  to {
    transform: scaleX(1);
  }
}

.hero-subtitle {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.9s forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 68, 68, 0.13);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out, border-color 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  line-height: 1;
}

.btn-primary .btn-icon,
.btn-secondary .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  line-height: 1;
  vertical-align: middle;
  margin-right: 0.3rem;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff4444 50%, #ff2d2d 100%);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff8e8e 0%, #ff6b6b 50%, #ff4444 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.15) 0%, rgba(255, 68, 68, 0.08) 50%, rgba(255, 68, 68, 0.12) 100%);
  color: var(--primary) !important;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.25) 0%, rgba(255, 68, 68, 0.15) 50%, rgba(255, 68, 68, 0.2) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 68, 68, 0.25);
}

/* Starý hover efekt odstraněn - nahrazen animovaným glow efektem */

.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon {
  color: #fff;
  filter: drop-shadow(0 0 6px rgba(255, 68, 68, 0.25));
}

.btn-primary.large,
.btn-secondary.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Specific styles for button text alignment */
.btn-primary span,
.btn-secondary span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}







/* Starý hover efekt odstraněn - nahrazen animovaným glow efektem */

/* SUCCESS TICKER */
.success-ticker {
  height: 80px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 68, 68, 0.13);
  border-bottom: 1px solid rgba(255, 68, 68, 0.13);
  overflow: hidden;
  position: relative;
  margin-top: -80px;
  z-index: 10;
}

.ticker-container {
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: 4rem;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.ticker-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  opacity: 0.8;
}

.ticker-text {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* CLIENTS SECTION */
.clients {
  padding: 6rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 68, 68, 0.13);
}

.clients-slider {
  overflow: hidden;
  position: relative;
}

.clients-track {
  display: flex;
  align-items: center;
  animation: clientsScroll 40s linear infinite;
  white-space: nowrap;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-right: 3rem;
  padding: 1.5rem;
  min-width: 120px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.client-logo:hover {
  color: var(--primary);
  transform: translateY(-5px);
}

.client-icon {
  width: 32px;
  height: 32px;
  opacity: 0.7;
}

.client-name {
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes clientsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* CONTACT SECTION */
.contact {
  padding: 6rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 68, 68, 0.13);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 68, 68, 0.08);
  border-color: rgba(255, 68, 68, 0.2);
  transform: translateY(-2px);
}

.stat-card .stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.contact-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-2px);
}

.placeholder-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.image-placeholder span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: radial-gradient(800px circle at center, rgba(139, 139, 139, 0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.contact-form:hover::before {
  opacity: 1;
}

.contact-form:hover {
  border-color: rgba(255, 68, 68, 0.22);
  box-shadow:
    0 16px 48px rgba(255, 68, 68, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-4px) scale(1.02);
}

.contact-form>* {
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 2px;
}

.input-icon {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.4);
  z-index: 1;
  transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: transparent;
}

.input-wrapper:focus-within .input-icon {
  color: var(--primary);
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  z-index: 1;
}

.input-wrapper:focus-within .input-line {
  background: rgba(255, 68, 68, 0.6);
  box-shadow: none;
  transform: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* SECTIONS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Section borders - only within container width */


.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.portfolio-header {
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}



.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

/* STATS SECTION */
.stats {
  padding: 5rem 0;
  position: relative;
  background: transparent;
  box-shadow: none;
  z-index: 2;
  border-top: 1px solid rgba(255, 68, 68, 0.13);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(15px) saturate(160%);
  -webkit-backdrop-filter: blur(15px) saturate(160%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}



.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background: radial-gradient(800px circle at center, rgba(139, 139, 139, 0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px) scale(1.02);
}

.stat-item>* {
  position: relative;
  z-index: 1;
}


/* Starý hover efekt odstraněn - nahrazen animovaným glow efektem */

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 68, 68, 0.08);
  border: 1px solid rgba(255, 68, 68, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(255, 68, 68, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-icon svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}

/* SERVICES SECTION */
.services {
  padding: 6rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: all 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
}



.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background: radial-gradient(800px circle at center, rgba(139, 139, 139, 0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.service-card:hover {
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px) scale(1.02);
}

.service-card>* {
  position: relative;
  z-index: 1;
}

/* Starý hover efekt odstraněn - nahrazen animovaným glow efektem */

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 68, 68, 0.08);
  border: 1px solid rgba(255, 68, 68, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow:
    0 4px 20px rgba(255, 68, 68, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.service-icon .icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon .icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(255, 68, 68, 0.4));
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.service-desc {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  background: rgba(255, 68, 68, 0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 68, 68, 0.2);
}

/* WHY SECTION */
.why {
  padding: 6rem 0;
  position: relative;
  background: transparent;
  box-shadow: none;
  z-index: 2;
  border-top: 1px solid rgba(255, 68, 68, 0.13);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: all 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
}



.why-item:hover {
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px) scale(1.02);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 68, 68, 0.08);
  border: 1px solid rgba(255, 68, 68, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow:
    0 4px 20px rgba(255, 68, 68, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.why-icon .icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.why-item:hover .why-icon .icon {
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 0 6px rgba(255, 68, 68, 0.3));
}

.why-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.why-desc {
  color: var(--text-light);
  line-height: 1.6;
}

/* REVIEWS SECTION */
.reviews {
  padding: 6rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 68, 68, 0.13);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(15px) saturate(170%);
  -webkit-backdrop-filter: blur(15px) saturate(170%);
  transition: all 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  will-change: transform, box-shadow, border-color;
  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}



.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background: radial-gradient(800px circle at center, rgba(139, 139, 139, 0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.review-card:hover::before {
  opacity: 1;
}

.review-card:hover {
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px) scale(1.02);
}

.review-card>* {
  position: relative;
  z-index: 1;
}

/* Starý hover efekt odstraněn - nahrazen animovaným glow efektem */

.review-rating {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.review-text {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: rgba(255, 68, 68, 0.08);
  border: 1px solid rgba(255, 68, 68, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 3px 15px rgba(255, 68, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}



.author-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.author-name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.author-role {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* FAQ SECTION */
.faq {
  padding: 6rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 68, 68, 0.13);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  transition: all 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}



.faq-item:hover {
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px) scale(1.02);
}

/* Starý hover efekt odstraněn - nahrazen animovaným glow efektem */

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  font-family: inherit;
}

.faq-question::before {
  display: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  transform-origin: center;
}

.faq-item.active .faq-icon {
  color: var(--primary);
  filter: drop-shadow(0 0 4px rgba(255, 68, 68, 0.3));
  transform: rotate(180deg);
}

.faq-icon:hover {
  transform: scale(1.1);
}

.faq-item.active .faq-question {
  color: var(--primary);
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-top-color 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  border-top-color: var(--border);
}

.faq-answer p {
  padding: 1.5rem 2rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  transition: opacity 0.3s ease 0.1s;
  opacity: 0;
}

.faq-item.active .faq-answer p {
  opacity: 1;
}


/* CTA SECTION */
.cta {
  padding: 6rem 0;
  position: relative;
  background: transparent;
  z-index: 2;
  border-top: 1px solid rgba(255, 68, 68, 0.13);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border: none !important;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.cta-desc {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  padding: 4rem 0 2rem;
  position: relative;
  background: transparent;
  z-index: 2;
  border-top: 1px solid rgba(255, 68, 68, 0.13);
}



/* Odstraněno: .footer::before s bočními a spodním borderem */

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.logo-subtitle {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.footer-section h4 {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: flex-start;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  transition: all 0.3s ease;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: rgba(255, 68, 68, 0.1);
  border-color: rgba(255, 68, 68, 0.2);
}

.back-to-top-icon {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.back-to-top:hover .back-to-top-icon {
  color: var(--primary);
  transform: translateY(-1px);
}





.hero-badge-icon,
.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.theme-icon {
  width: 16px;
  height: 16px;
}

/* SCROLL ANIMATIONS */
.service-card,
.why-item,
.review-card,
.stat-item,
.faq-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.service-card.animate-in,
.why-item.animate-in,
.review-card.animate-in,
.stat-item.animate-in,
.faq-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1).animate-in {
  transition-delay: 0.1s;
}

.service-card:nth-child(2).animate-in {
  transition-delay: 0.2s;
}

.service-card:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.why-item:nth-child(1).animate-in {
  transition-delay: 0.1s;
}

.why-item:nth-child(2).animate-in {
  transition-delay: 0.2s;
}

.why-item:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.why-item:nth-child(4).animate-in {
  transition-delay: 0.4s;
}

.review-card:nth-child(1).animate-in {
  transition-delay: 0.1s;
}

.review-card:nth-child(2).animate-in {
  transition-delay: 0.2s;
}

.review-card:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.stat-item:nth-child(1).animate-in {
  transition-delay: 0.1s;
}

.stat-item:nth-child(2).animate-in {
  transition-delay: 0.2s;
}

.stat-item:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.stat-item:nth-child(4).animate-in {
  transition-delay: 0.4s;
}

.faq-item:nth-child(1).animate-in {
  transition-delay: 0.1s;
}

.faq-item:nth-child(2).animate-in {
  transition-delay: 0.2s;
}

.faq-item:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.faq-item:nth-child(4).animate-in {
  transition-delay: 0.4s;
}

.faq-item:nth-child(5).animate-in {
  transition-delay: 0.5s;
}

.faq-item:nth-child(6).animate-in {
  transition-delay: 0.6s;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-center {
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-container {
    padding: 0 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }



  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-question {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 1rem 1.5rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }

  .back-to-top-icon {
    width: 18px;
    height: 18px;
  }

  /* Clients responsive */
  .client-logo {
    min-width: 100px;
    margin-right: 2rem;
    padding: 1rem;
  }

  /* Contact responsive */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* CTA widget hover efekt */
.cta-content:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 68, 68, 0.12), 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 170, 255, 0.08) 0%, rgba(0, 170, 255, 0) 50%),
    rgba(255, 255, 255, 0.04);
}

/* Footer section hover efekty */
.footer-section:hover,
.footer-brand:hover,
.footer-social:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 16px rgba(255, 68, 68, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 170, 255, 0.06) 0%, rgba(0, 170, 255, 0) 50%),
    rgba(255, 255, 255, 0.03);
}

/* Navigace a odkazy hover efekty sjednocení */
.nav:hover {
  /* Žádné změny borderu při hoveru - zachováváme původní červený border */
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(255, 68, 68, 0.13) !important;
  box-shadow: none !important;
  outline: none !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* Back to top sjednocení efektu */
.back-to-top:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 68, 68, 0.18);
}

/* Widgety s gradient background – sjednocené přechody */


/* Výchozí červený border pro widgety */
.service-card,
.stat-item,
.review-card,
.faq-item,
.cta-content,
.footer-section,
.footer-brand,
.footer-social,
.back-to-top,
.btn-primary,
.btn-secondary,
.nav-link,
.why-item {
  border: 1px solid rgba(255, 68, 68, 0.13);
}

/* Odstranění borderu z elementů ve footeru a jeho okolí */
.footer-section,
.footer-brand,
.footer-social,
.footer-content,
.footer-links,
.footer-bottom,
.footer-legal,
.logo-icon,
.author-avatar,
.footer-desc,
.footer-section ul li,
.footer-section h4,
.footer-section ul li a {
  border: none !important;
}

/* Glow efekt a border na hoveru pouze pro skutečné widgety a tlačítka */


/* Globální plynulé přechody jsou nyní aplikovány na všechny elementy */

/* --- MODERNÍ DECENTNÍ GLOW HOVER EFEKT PRO KARTY --- */
.stat-item:hover,
.review-card:hover,
.why-item:hover {
  box-shadow:
    0 0 0 1px rgba(64, 64, 64, 0.13),
    0 0 12px rgba(64, 64, 64, 0.10),
    0 0 24px rgba(64, 64, 64, 0.07),
    0 8px 32px 0 rgba(0, 0, 0, 0.14),
    0 1px 3px 0 rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 68, 68, 0.25);
  background:
    linear-gradient(135deg, rgba(255, 68, 68, 0.03) 0%, rgba(255, 68, 68, 0) 50%),
    rgba(255, 255, 255, 0.02);
  transform: translateY(-2px) scale(1.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Odstranění glow efektů z footer a CTA sekcí */
.footer-section:hover,
.footer-brand:hover,
.footer-social:hover,
.cta-content:hover {
  transform: none !important;
  box-shadow: none !important;
  background: none !important;
  border-color: inherit !important;
  filter: none !important;
  transition: none !important;
}

/* Moderní decentní glow efekt pro tlačítka */
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(64, 64, 64, 0.18),
    0 0 12px rgba(64, 64, 64, 0.13),
    0 0 24px rgba(64, 64, 64, 0.09),
    0 8px 32px rgba(0, 0, 0, 0.18);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Globální sjednocení přechodů */
:where(.service-card, .btn-primary, .btn-secondary, .why-item, .review-card, .stat-item, .faq-item, .nav-link, .back-to-top, .footer-section, .footer-brand, .footer-social, .cta-content, .feature-tag, .social-link, .logo-text, .faq-question, .faq-icon, .section-title, .section-subtitle, .stat-item, .service-icon, .author-avatar, .author-icon, .footer-section ul li a) {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out, border-color 0.3s ease-in-out, opacity 0.3s ease-in-out, color 0.3s ease-in-out, width 0.3s ease-in-out, max-height 0.3s ease-in-out;
}

.service-card,
.service-card:hover,
.btn-primary,
.btn-primary:hover,
.btn-secondary,
.btn-secondary:hover,
.why-item,
.why-item:hover,
.review-card,
.review-card:hover,
.stat-item,
.stat-item:hover,
.cta-content,
.cta-content:hover,
.back-to-top,
.back-to-top:hover,
.feature-tag,
.feature-tag:hover,
.faq-item,
.faq-item:hover {
  transition: transform 0.3s ease-in-out !important;
}

.service-card:hover,
.review-card:hover,
.why-item:hover,
.stat-item:hover {
  transform: translateY(-4px) scale(1.02) !important;
  transition: transform 0.3s ease-in-out !important;
}



.ibm-plex-sans-heading {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  letter-spacing: -0.01em;
}

body,
p,
li,
a,
button,
input,
textarea,
.nav-link,
.section-subtitle,
.service-desc,
.feature-tag,
.why-desc,
.review-text,
.review-author,
.cta-desc,
.footer-desc,
.footer-links,
.footer-legal,
.footer-social,
.faq-question,
.faq-answer {
  font-family: "Instrument Sans", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.instrument-sans {
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* Pro nadpisy lze použít např. .instrument-sans-bold { font-weight: 700; } */

/* AI text - oranžová barva */
.highlight-text.ai-blink {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  color: #ff6600 !important;
  /* Oranžová */
}

/* === PORTFOLIO SECTION === */
.portfolio-grid-section {
  padding: 6rem 0;
  position: relative;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  justify-items: center;
}

.portfolio-item {
  display: flex;
  align-items: stretch;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: all 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
}

.portfolio-card:hover {
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px) scale(1.02);
  transition: all 0.3s ease-in-out;
}

.portfolio-image {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .project-preview {
  transform: scale(1.05);
}

.image-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(255, 68, 68, 0.2) 50%,
      rgba(0, 0, 0, 0.6) 100%);
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .image-overlay-gradient {
  opacity: 0.8;
}

.project-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.85;
}



.portfolio-card:hover .project-overlay-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 0, 0, 0.7);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(255, 68, 68, 0.3) 50%,
      rgba(0, 0, 0, 0.95) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  backdrop-filter: blur(5px);
  border-radius: var(--radius);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.portfolio-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay-stats {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.overlay-stats .stat {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.overlay-stats .stat:hover {
  background: rgba(255, 68, 68, 0.3);
  border-color: rgba(255, 68, 68, 0.5);
  transform: translateY(-2px);
}

.portfolio-content {
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  gap: 0.8rem;
}

.portfolio-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.portfolio-category {
  background: rgba(255, 68, 68, 0.08);
  color: var(--primary);
  border-radius: 6px;
  padding: 0.2rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.portfolio-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tech-tag {
  background: rgba(255, 68, 68, 0.10);
  color: var(--primary);
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 68, 68, 0.18);
}

.tech-tag.more {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.portfolio-results {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.result-item {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 0.4rem 1rem;
  text-align: center;
}

.result-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.result-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/* === PORTFOLIO FILTER === */
.portfolio-filter {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.filter-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  outline: none;
  position: relative;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 68, 68, 0.10);
}



.filter-icon {
  width: 18px;
  height: 18px;
  color: inherit;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .filter-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
  }

  .filter-btn {
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem;
  }
}

/* === PORTFOLIO HEADER FINAL === */
.portfolio-header {
  padding-top: 6rem;
  padding-bottom: 2.5rem;
  margin-bottom: 0;
  text-align: center;
  background: none;
}

.section-header {
  margin-bottom: 5rem;
  padding: 0;
  background: none;
}

.portfolio-header .section-title {
  margin-bottom: 1.1rem;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.portfolio-header-icon {
  vertical-align: middle;
  margin-right: 0.5rem;
  margin-bottom: 0.13em;
  width: 1.7em;
  height: 1.7em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.portfolio-filter {
  margin-bottom: 2.7rem;
  margin-top: 0;
}

.portfolio-grid-section {
  padding-top: 0;
  padding-bottom: 5rem;
  margin-bottom: 0;
}

.portfolio-cta {
  margin-top: 4rem;
  margin-bottom: 0;
}

.footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .portfolio-header {
    padding-top: 4.5rem;
    padding-bottom: 2rem;
  }

  .portfolio-header .section-title {
    font-size: 2rem;
  }
}

/* === PORTFOLIO HEADER DEKOR === */
.portfolio-header-decor {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 2.5rem;
  text-align: center;
  overflow: visible;
}

.portfolio-header-decor .section-title {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: none;
}



.portfolio-header-decor::before {
  content: '';
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 900px;
  height: 220px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(255, 68, 68, 0.32) 0%, rgba(255, 68, 68, 0.13) 60%, rgba(255, 68, 68, 0.00) 100%);
  filter: blur(38px);
  z-index: 10;
  pointer-events: none;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .portfolio-header-decor::before {
    width: 100vw;
    max-width: 100vw;
    height: 120px;
    filter: blur(18px);
  }
}

/* === PORTFOLIO HEADER DEKOR === */
.portfolio-header-decor::before {
  display: none !important;
}

/* === FIXED GLOW ZA NAVIGACÍ === */
.nav-glow {
  position: fixed;
  left: 50%;
  top: -160px;
  transform: translateX(-50%);
  width: 620px;
  height: 260px;
  background: radial-gradient(circle 360px at 50% 0px, rgba(255, 68, 68, 0.45) 0%, rgba(255, 68, 68, 0.25) 40%, rgba(255, 68, 68, 0.10) 70%, rgba(255, 68, 68, 0.00) 100%);
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .nav-glow {
    width: 90vw;
    height: 60px;
    filter: blur(10px);
  }
}

.nav-glow--fadein {
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1);
}

.nav-glow--fadein.is-visible {
  opacity: 0.7;
}

/* Zrušení glow pouze pro .portfolio-header-decor::before */
.portfolio-header-decor::before {
  display: none !important;
}

/* === PAGE GLOW FIXED NA POZADÍ === */
/* Odstraněno - glow blob který letěl dolů napříč webem */

/* Glow je nyní aktivní v navigaci */

/* Portfolio Actions */
.portfolio-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.portfolio-actions .btn-secondary,
.portfolio-actions .btn-primary {
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

/* No Projects Message */
.no-projects {
  text-align: center;
  padding: 4rem 0;
}

.no-projects h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.no-projects p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Project Detail Styles */
.project-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 68, 68, 0.02) 100%);
}

.project-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.project-hero-header {
  text-align: center;
  margin-bottom: 3rem;
}

.project-hero-image {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(15px) saturate(160%);
  -webkit-backdrop-filter: blur(15px) saturate(160%);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  position: relative;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(255, 68, 68, 0.2) 50%,
      rgba(0, 0, 0, 0.9) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
}

.project-hero-image:hover .hero-overlay {
  opacity: 1;
}

.hero-overlay-content {
  text-align: center;
  color: #fff;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.project-hero-image:hover .hero-overlay-content {
  transform: translateY(0);
}

.hero-tech-stack {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tech-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(255, 68, 68, 0.3);
  border-color: rgba(255, 68, 68, 0.5);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  background: rgba(255, 68, 68, 0.2);
  border-color: rgba(255, 68, 68, 0.4);
  transform: scale(1.05);
}

.stat-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.hero-stat span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.project-hero-image:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 68, 68, 0.22);
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}



.project-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.category-icon {
  width: 16px;
  height: 16px;
}

.project-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.project-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.meta-icon {
  width: 16px;
  height: 16px;
}

/* Project Overview */
.project-overview {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.project-description h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.project-description p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.project-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.project-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 1rem 0;
}

.project-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.8rem 0;
}

.project-content p {
  margin-bottom: 1.2rem;
}

.project-content ul,
.project-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.project-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.project-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.project-content em {
  color: var(--primary);
  font-style: italic;
}

.project-content code {
  background: rgba(255, 68, 68, 0.1);
  color: var(--primary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.project-content blockquote {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--primary);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.project-content blockquote p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.project-content cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.project-results h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.results-grid {
  display: grid;
  gap: 1rem;
}

.result-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.result-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-2px);
}

.result-card .result-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.result-card .result-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Project Content */
.project-content {
  padding: 4rem 0;
}

.project-content-grid {
  max-width: 900px;
  margin: 0 auto;
}

.project-section {
  margin-bottom: 4rem;
}

.project-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.challenge-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.challenge,
.solution {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
}

.challenge h3,
.solution h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
}

.challenge p,
.solution p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-badge {
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 68, 68, 0.2);
}

.process-steps {
  display: grid;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  background: var(--accent-color);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  padding-top: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 68, 68, 0.22);
}

.feature-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.feature-item span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Project Gallery */
.project-gallery {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.project-gallery h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Related Projects */
.related-projects {
  padding: 4rem 0;
}

.related-projects h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.related-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.related-project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.related-project-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13);
}

.related-project-image {
  width: 80px;
  height: 80px;
  background: rgba(255, 68, 68, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.related-project-image .project-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-color);
}

.related-project-content {
  flex: 1;
}

.related-project-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.related-project-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.related-project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.related-project-meta .category {
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Project CTA */
.project-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 68, 68, 0.02) 100%);
  text-align: center;
}

.project-cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-cta-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.project-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-title {
    font-size: 2rem;
  }

  .project-overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .challenge-solution {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .related-projects-grid {
    grid-template-columns: 1fr;
  }

  .related-project-card {
    flex-direction: column;
    text-align: center;
  }

  .related-project-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .project-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .project-cta-actions .btn-primary,
  .project-cta-actions .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .project-hero {
    padding: 4rem 0 2rem;
  }

  .project-title {
    font-size: 1.75rem;
  }

  .project-subtitle {
    font-size: 1rem;
  }

  .portfolio-actions {
    flex-direction: column;
  }

  .portfolio-actions .btn-secondary,
  .portfolio-actions .btn-primary {
    width: 100%;
  }
}

/* Blog Styles */
.blog-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 68, 68, 0.02) 100%);
  text-align: center;
}

.blog-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.blog-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.blog-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.blog-search-form {
  max-width: 400px;
  margin: 0 auto;
}

.search-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.search-input {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
}

.search-button {
  padding: 1rem;
  background: var(--accent-color);
  border: none;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-button:hover {
  background: var(--accent-hover);
}

.search-icon {
  width: 20px;
  height: 20px;
}

/* Blog Layout */
.blog-content {
  padding: 4rem 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Blog Filter */
.blog-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.blog-filter .filter-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.blog-filter .filter-btn:hover,
.blog-filter .filter-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  gap: 2rem;
}

.post-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.post-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13), 0 1px 0 rgba(255, 255, 255, 0.08);
}

.post-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.post-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail {
  transform: scale(1.05);
}

.post-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(30, 30, 30, 0.72);
  color: #fff;
  padding: 0.4rem 1.1rem;
  border-radius: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  z-index: 2;
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-icon {
  width: 16px;
  height: 16px;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.post-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--accent-color);
}

.post-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.post-tag {
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.author-icon {
  width: 16px;
  height: 16px;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-widget {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* Latest Posts Widget */
.latest-posts {
  display: grid;
  gap: 1rem;
}

.latest-post-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.latest-post-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.latest-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-post-content h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.latest-post-content h4 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.latest-post-content h4 a:hover {
  color: var(--accent-color);
}

.latest-post-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Popular Posts Widget */
.popular-posts {
  display: grid;
  gap: 1rem;
}

.popular-post-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.popular-post-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-content h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.popular-post-content h4 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.popular-post-content h4 a:hover {
  color: var(--accent-color);
}

.popular-post-read-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Categories Widget */
.categories-list {
  display: grid;
  gap: 0.5rem;
}

.category-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-link:hover {
  color: var(--accent-color);
}

/* Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag-item:hover {
  background: var(--accent-color);
  color: white;
}

/* Pagination */
.blog-pagination {
  margin-top: 3rem;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination-link {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.pagination-link:hover,
.pagination-link.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

/* Post Detail Styles */
.post-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 68, 68, 0.02) 100%);
}

.post-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.post-hero-header {
  margin-bottom: 2rem;
}

.post-hero .post-category {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.post-hero .post-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-hero .post-excerpt {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.post-hero .post-meta {
  justify-content: center;
  flex-wrap: wrap;
}

/* Post Featured Image */
.post-featured-image {
  padding: 2rem 0;
}

.featured-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
}

/* Post Layout */
.post-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.post-main {
  max-width: 800px;
}

.post-article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 3rem;
  margin-bottom: 3rem;
}

.post-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.post-tags-section {
  margin-bottom: 2rem;
}

.post-tags-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.post-share {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.post-share h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.share-button.facebook {
  background: #1877f2;
  color: white;
}

.share-button.twitter {
  background: #1da1f2;
  color: white;
}

.share-button.linkedin {
  background: #0077b5;
  color: white;
}

.share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.share-icon {
  width: 18px;
  height: 18px;
}

/* Related Posts */
.related-posts {
  margin-bottom: 3rem;
}

.related-posts h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-post-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-post-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 68, 68, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255, 68, 68, 0.13);
}

.related-post-image {
  height: 150px;
  overflow: hidden;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-content {
  padding: 1.5rem;
}

.related-post-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.related-post-content h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-post-content h3 a:hover {
  color: var(--accent-color);
}

.related-post-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.related-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.related-post-meta .category {
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
}

/* Post Sidebar */
.post-sidebar {
  position: sticky;
  top: 2rem;
}

.newsletter-widget {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.1) 0%, rgba(255, 68, 68, 0.05) 100%);
  border-color: rgba(255, 68, 68, 0.2);
}

.newsletter-form {
  display: grid;
  gap: 1rem;
}

.newsletter-input {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.875rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.author-widget {
  text-align: center;
}

.author-info {
  display: grid;
  gap: 1rem;
}

.author-avatar {
  width: 80px;
  height: 80px;
  background: rgba(255, 68, 68, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.author-avatar .author-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-color);
}

.author-details h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.author-details p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Post CTA */
.post-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 68, 68, 0.02) 100%);
  text-align: center;
}

.post-cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.post-cta-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.post-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {

  .blog-layout,
  .post-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-sidebar,
  .post-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {

  .blog-hero-title,
  .post-hero .post-title {
    font-size: 2rem;
  }

  .blog-hero-subtitle,
  .post-hero .post-excerpt {
    font-size: 1rem;
  }

  .blog-filter {
    justify-content: center;
  }

  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .post-article {
    padding: 2rem;
  }

  .share-buttons {
    justify-content: center;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .post-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .post-cta-actions .btn-primary,
  .post-cta-actions .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {

  .blog-hero,
  .post-hero {
    padding: 4rem 0 2rem;
  }

  .blog-hero-title,
  .post-hero .post-title {
    font-size: 1.75rem;
  }

  .post-article {
    padding: 1.5rem;
  }

  .post-body {
    font-size: 1rem;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-button {
    justify-content: center;
  }
}

/* ===== NOVÉ TŘÍDY PRO NAHRAZENÍ INLINE STYLŮ ===== */

/* WordPress filter icon */
.wordpress-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wordpress-svg {
  vertical-align: middle;
}

/* Project background images */
.project-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Error containers */
.error-container {
  padding: 6rem 0;
  text-align: center;
}

/* JavaScript background image setting */
.project-bg-image[data-bg-image] {
  background-image: var(--bg-image);
}

/* Project icon z-index fix */
.project-overlay-icon {
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.8rem;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  opacity: 0.9;
  transition: all 0.3s ease;
}



/* Portfolio pagination */
.portfolio-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.portfolio-pagination .pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.portfolio-pagination .pagination-link {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  min-width: 44px;
  text-align: center;
}

.portfolio-pagination .pagination-link:hover,
.portfolio-pagination .pagination-link.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

/* Beautiful custom select styling for contact form */
.contact-form select {
  width: 100%;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  box-shadow: none;
}

.contact-form select:focus {
  outline: none;
  background: transparent;
  transform: translateY(-1px);
}

.contact-form .input-wrapper:focus-within .input-icon {
  color: var(--primary);
}

.contact-form .input-wrapper:after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-60%) rotate(45deg);
  opacity: 0.7;
}

/* Login Page Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 10;
}

#renderCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.login-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 350px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.02) 0%, rgba(255, 68, 68, 0.005) 100%);
  border-radius: 8px;
  pointer-events: none;
  z-index: -1;
}

.login-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-icon {
  margin-bottom: 20px;
}

.demonic-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 30px rgba(255, 68, 68, 0.4));
  border: 0;
}

.login-title {
  font-size: 1.8rem;
  font-weight: 300;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff4444 50%, #ff2d2d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  filter: drop-shadow(0 0 15px rgba(255, 68, 68, 0.2));
  text-transform: uppercase;
}

.login-title-extension {
  display: inline;
}

@media (max-width: 768px) {
  .login-title-extension {
    display: none;
  }
}

.login-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 200;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.login-error {
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 68, 68, 0.2);
  text-align: center;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .input-wrapper {
  position: relative;
}

.login-form .input-line {
    display: none;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
    width: 18px;
    height: 18px;
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.password-toggle.active {
    color: rgba(255, 68, 68, 0.8);
}

.login-form .input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.login-form input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  font-size: 1rem;
  transition: border-bottom-color 0.3s ease;
  background: transparent;
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.login-form input:focus {
  outline: none;
  border-bottom-color: rgba(255, 68, 68, 0.6);
  background: transparent;
}

.login-form input:focus+.input-icon {
  color: rgba(255, 255, 255, 0.8);
}

.login-form input::placeholder {
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.login-form .btn-primary {
  width: 200px;
  margin: 16px auto 0;
  background: transparent;
  color: #fff !important;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 16px 24px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form .btn-primary:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.5);
}

.login-form .btn-primary:active {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments for login */
@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px;
    margin: 20px;
  }

  .login-title {
    font-size: 2.2rem;
  }

  .login-subtitle {
    font-size: 1rem;
  }
}