/* Main Stylesheet - Mobile First Approach */

/* Import other CSS files */
@import url('reset.css');
@import url('variables.css');

/* Base Styles */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text-primary);
  background-color: var(--color-bg-light);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  word-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}

p {
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
}

/* Sections */
section {
  padding: 2rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

/* Promo Section */
.promo {
  width: 100%;
  background-color: var(--color-secondary);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-grey-light);
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.promo__text {
  color: var(--color-text-light);
  font-weight: 700;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .promo {
    padding: 0.5625rem 0;
  }

  .promo__text {
    font-size: 1rem;
  }
}

.promo__link {
  color: var(--color-text-light);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.promo__link:hover {
  opacity: 0.8;
}

/* Header */
.header {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1200px;
  z-index: 1000;
  pointer-events: none;
  transition: top 0.3s ease;
}

.header--scrolled {
  top: 10px;
}

.header__container {
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  pointer-events: auto;
  gap: 0.75rem;
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
  flex-shrink: 0;
  min-width: 60px;
  touch-action: manipulation;
}

.header__logo:hover {
  color: var(--color-brand);
}

.header__logo:active {
  transform: scale(0.95);
}

/* Hamburger Menu Toggle - Mobile Only */
.header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  touch-action: manipulation;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.header__menu-toggle:hover {
  background-color: rgba(5, 10, 35, 0.05);
}

.header__menu-toggle:active {
  transform: scale(0.95);
}

.header__menu-toggle:focus {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.header__menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  position: relative;
}

.header__menu-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation - Frosted Glass */
.header__nav {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: calc(100% - 2rem);
  max-width: 500px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(5, 10, 35, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.header__nav[aria-hidden="false"] {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0.875rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  border-radius: 8px;
  text-align: center;
}

.header__nav-link::after {
  display: none;
}

.header__nav-link:hover,
.header__nav-link:active {
  color: var(--color-brand);
  background-color: rgba(5, 10, 35, 0.08);
}

/* Language Button in Mobile Menu */
.header__nav-language {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  min-height: 44px;
  background: none;
  border: 1px solid rgba(5, 10, 35, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-top: 0.5rem;
  touch-action: manipulation;
}

.header__nav-language:hover,
.header__nav-language:active {
  background-color: rgba(5, 10, 35, 0.08);
  border-color: var(--color-secondary);
  transform: scale(0.98);
}

.header__nav-language-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.header__nav-language-text {
  font-size: 1rem;
}

/* Flag Button - Hidden on Mobile, Visible on Desktop */
.header__flag-button {
  display: none;
  font-size: 1.5rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  transition: transform 0.2s ease;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  touch-action: manipulation;
  border-radius: 4px;
}

.header__flag-button:hover {
  transform: scale(1.1);
  background-color: rgba(5, 10, 35, 0.05);
}

.header__flag-button:active {
  transform: scale(0.95);
}

.header__flag-button:focus {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .header {
    width: 50%;
  }

  .header__container {
    padding: 0.6rem 0.9rem;
    gap: 1rem;
  }

  .header__logo {
    font-size: 1.5rem;
  }

  .header__menu-toggle {
    display: none;
  }

  .header__nav {
    position: static;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-left: auto;
    margin-right: 0.75rem;
    padding: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: auto;
    max-width: none;
    top: auto;
    left: auto;
    border-radius: 0;
  }

  .header__nav[aria-hidden="false"] {
    transform: none;
  }

  .header__nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    padding: 0.25rem 0;
    min-height: auto;
    width: auto;
    text-align: left;
    border-radius: 0;
    background: none;
    position: relative;
  }

  .header__nav-link::after {
    display: block;
  }

  .header__nav-link:hover,
  .header__nav-link:active {
    color: var(--color-text-primary);
    background: none;
  }

  .header__nav-language {
    display: none;
  }

  .header__flag-button {
    display: flex;
  }
}

/* Hero Section */
.hero {
  padding: 2rem 0 3rem;
  margin-top: 0;
}

.hero__spacer {
  width: 100%;
  height: 115px;
}

.hero__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  padding: 0 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 2rem;
    padding: 0;
  }
}

.hero__title--highlight {
  color: var(--color-brand);
}

.hero__subtitle {
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 110px;
    white-space: nowrap;
    padding: 0;
  }
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 0;
  max-height: 50vh;
}

@media (min-width: 768px) {
  .hero__image-wrapper {
    max-height: 48.75vh;
  }
}

.hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 10, 35, 0.8) 0%, rgba(5, 10, 35, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem;
  color: var(--color-text-light);
}

@media (min-width: 768px) {
  .hero__overlay {
    padding: 2rem;
  }
}

.hero__overlay-label {
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.hero__overlay-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.2;
}

.hero__overlay-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.hero__overlay-link:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .hero__overlay-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}

.hero__overlay-description {
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  max-width: 100%;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero__overlay-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
  }
}

.hero__button {
  display: inline-block;
  background-color: var(--color-brand);
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  min-height: 44px;
  min-width: 160px;
  text-align: center;
  touch-action: manipulation;
}

.hero__button:hover {
  background-color: #b91c1c;
}

.hero__button:active {
  background-color: #991b1b;
  transform: scale(0.98);
}

@media (min-width: 768px) {
  .hero__button {
    font-size: 1rem;
    padding: 0.75rem 2rem;
  }
}

/* Problem Section */
.problem {
  padding: 3rem 0;
}

.problem__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.problem__text {
  text-align: center;
}

.problem__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.problem__description {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin: 0;
}

.problem__audio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.problem__audio-button {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 50%;
  background-color: var(--color-brand);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  padding: 0;
  position: relative;
  animation: pulseButton 2s ease-in-out infinite;
  touch-action: manipulation;
}

.problem__audio-button:active {
  transform: scale(0.95);
}

.problem__audio-button:hover {
  background-color: #b91c1c;
  animation: none;
}

.problem__audio-button.playing {
  animation: none;
}

.problem__audio-icon {
  color: white;
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 2;
}

.problem__radio-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.problem__audio-button.playing .problem__audio-icon {
  opacity: 0;
}

.problem__audio-button.playing .problem__radio-icon {
  opacity: 1;
}

.problem__radio-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.problem__audio-button.playing .problem__radio-waves {
  opacity: 1;
}

.problem__wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--color-brand);
  border-radius: 50%;
  animation: radioPulse 1.5s ease-out infinite;
}

.problem__wave:nth-child(1) {
  width: 30px;
  height: 30px;
  animation-delay: 0s;
}

.problem__wave:nth-child(2) {
  width: 40px;
  height: 40px;
  animation-delay: 0.5s;
}

.problem__wave:nth-child(3) {
  width: 50px;
  height: 50px;
  animation-delay: 1s;
}

@keyframes radioPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes pulseButton {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}

.problem__audio-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin: 0;
}

.problem__audio-file {
  display: none;
}

/* KICOM Products Section (Box & Software) */
.kicom-products {
  padding: 4rem 0;
  position: relative;
  background-color: var(--color-bg-light);
}

.kicom-products__wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.kicom-products__item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

.kicom-products__image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kicom-products__header {
  position: relative;
  z-index: 2;
}

.kicom-products__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.kicom-products__item--box .kicom-products__image {
  /* Removed rotation, overflow hidden, and clip-path to match video styling */
}

.kicom-products__image--video {
  border: 3px solid;
  border-image: linear-gradient(135deg, var(--color-brand) 0%, var(--color-secondary) 100%) 1;
  transition: border-image 0.3s ease, transform 0.3s ease;
}

.kicom-products__image--video:hover {
  border-image: linear-gradient(135deg, #b91c1c 0%, #030712 100%) 1;
  transform: scale(1.02);
}

.kicom-products__image img,
.kicom-products__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(1rem - 3px);
}

.kicom-products__fullscreen-btn {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background-color: rgba(5, 10, 35, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  touch-action: manipulation;
}

.kicom-products__fullscreen-btn:active {
  transform: scale(0.9);
}

.kicom-products__fullscreen-btn:hover {
  background-color: rgba(5, 10, 35, 1);
  transform: scale(1.1);
}

.kicom-products__fullscreen-btn svg {
  width: 20px;
  height: 20px;
}

.kicom-products__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}

.kicom-products__video-indicators {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0.75rem;
  width: 100%;
}

.kicom-products__live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(220, 38, 38, 0.9);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
}

.kicom-products__live-dot {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.kicom-products__live-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
}

.kicom-products__message-notification {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(5, 10, 35, 0.9);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
  animation: messageSlide 4s ease-in-out infinite;
}

@keyframes messageSlide {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  30% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.kicom-products__message-icon {
  width: 16px;
  height: 16px;
  color: var(--color-brand);
  animation: messageIconPulse 0.5s ease-in-out infinite;
}

@keyframes messageIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.kicom-products__message-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

/* KICOM-Box Processing Animation */
.kicom-products__box-indicator {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  width: 100%;
}

.kicom-products__processing-animation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(5, 10, 35, 0.9);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
  animation: processingPulse 3s ease-in-out infinite;
}

@keyframes processingPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.kicom-products__radio-icon {
  width: 18px;
  height: 18px;
  color: var(--color-brand);
  animation: radioIconPulse 1.5s ease-in-out infinite;
}

@keyframes radioIconPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.kicom-products__ai-icon {
  width: 18px;
  height: 18px;
  color: var(--color-brand);
  animation: aiIconPulse 1.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes aiIconPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.kicom-products__arrow {
  color: var(--color-brand);
  font-size: 1rem;
  font-weight: 600;
  animation: arrowMove 2s ease-in-out infinite;
}

@keyframes arrowMove {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(3px);
    opacity: 1;
  }
}


.kicom-products__processing-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

.kicom-products__item--box .kicom-products__image img {
  /* Removed translateY to match video styling */
  object-fit: contain;
}

.kicom-products__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: auto;
}

.kicom-products__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 0.5rem 0;
}

.kicom-products__subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-brand);
  margin: 0;
}

.kicom-products__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: start;
  counter-reset: feature-counter;
}

.kicom-products__feature {
  padding: 1rem;
  padding-left: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  background-color: transparent;
  border: 2px solid transparent;
  position: relative;
  counter-increment: feature-counter;
}

.kicom-products__feature::before {
  content: counter(feature-counter);
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
}

.kicom-products__feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.kicom-products__feature-description {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.kicom-products__divider {
  display: none;
}

/* Tablet and larger */
@media (min-width: 768px) {
  .kicom-products__wrapper {
    flex-direction: row;
    gap: 0;
  }
  
  .kicom-products__item {
    flex: 1;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  
  .kicom-products__item--software {
    padding-right: 2rem;
  }
  
  .kicom-products__item--box {
    padding-left: 2rem;
  }
  
  .kicom-products__features {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
  
  .kicom-products__divider {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: none;
    z-index: 1;
    pointer-events: none;
  }
  
  /* Vertical line - full height, no fade */
  .kicom-products__divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: #050a23;
  }
  
}

/* Desktop */
@media (min-width: 1024px) {
  .kicom-products__features {
    grid-template-columns: 1fr;
    align-items: start;
  }
  
  .kicom-products__item--software .kicom-products__features,
  .kicom-products__item--box .kicom-products__features {
    align-items: start;
  }
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
  background-color: var(--color-bg-light);
  position: relative;
}

.faq::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--color-grey-light) 20%, var(--color-grey-light) 80%, transparent 100%);
}

.faq__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
  margin: 0 0 3rem 0;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  border-bottom: 1px solid rgba(5, 10, 35, 0.1);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  width: 100%;
  padding: 1.25rem 0;
  min-height: 44px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
  touch-action: manipulation;
}

@media (min-width: 768px) {
  .faq__question {
    padding: 1.5rem 0;
  }
}

.faq__question:hover {
  color: var(--color-secondary);
}

.faq__question span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: color 0.3s ease;
}

.faq__question:hover span {
  color: var(--color-secondary);
}

.faq__icon {
  flex-shrink: 0;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
}

.faq__item--active .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0;
}

.faq__item--active .faq__answer {
  max-height: 500px;
  padding: 0 0 1.5rem 0;
}

.faq__answer p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Impact Section */
.impact {
  padding: 4rem 0;
  background-color: var(--color-bg-light);
  color: var(--color-text-primary);
}

.impact__section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
  margin: 0 0 2rem 0;
}

.impact__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
}

.impact__link:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .impact__section-title {
    font-size: 2rem;
    margin: 0 0 3rem 0;
  }
}

.impact__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.impact__container {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.impact__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
}

.impact__item {
  width: 100%;
  padding: 2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #050a23 0%, #dc2626 100%);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.impact__item:nth-child(2) {
  background: linear-gradient(45deg, #050a23 0%, #dc2626 100%);
}

.impact__item:nth-child(3) {
  background: linear-gradient(225deg, #050a23 0%, #dc2626 100%);
}

.impact__item:nth-child(4) {
  background: linear-gradient(315deg, #050a23 0%, #dc2626 100%);
}

.impact__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.impact__description {
  font-size: 1rem;
  font-weight: 400;
  color: white;
  margin: 0;
  line-height: 1.6;
  opacity: 0.95;
}

.impact__fade {
  display: none;
}

.impact__nav-btn {
  display: none;
}

.impact__nav-btn:hover {
  background-color: var(--color-secondary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.impact__nav-btn:active {
  transform: scale(0.95);
}

.impact__nav-btn svg {
  width: 24px;
  height: 24px;
}

.impact__nav-btn--prev {
  order: -1;
}

.impact__nav-btn--next {
  order: 1;
}

/* Tablet and larger */
@media (min-width: 768px) {
  .impact__content {
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
  }

  .impact__content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .impact__item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    width: auto;
    scroll-snap-align: start;
  }

  .impact__fade {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    pointer-events: none;
    z-index: 2;
  }

  .impact__fade--left {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light) 0%, rgba(247, 247, 247, 0.8) 30%, transparent 100%);
  }

  .impact__fade--right {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light) 0%, rgba(247, 247, 247, 0.8) 30%, transparent 100%);
  }

  .impact__nav-btn {
    display: flex;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--color-secondary);
    touch-action: manipulation;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .impact__fade {
    width: 200px;
  }
}

/* Footer */
.footer {
  background-color: var(--color-secondary);
  padding: 1.5rem 0;
  color: var(--color-text-light);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__linkedin {
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.footer__linkedin:hover {
  opacity: 0.7;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.footer__nav-link:hover {
  opacity: 0.7;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.footer__link {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.75rem;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__separator {
  color: var(--color-text-light);
  font-size: 0.75rem;
}

.footer__bottom {
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin: 0;
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  .footer__nav {
    flex: 0 0 auto;
    justify-content: center;
  }
  
  .footer__linkedin {
    order: -1;
  }
  
  .footer__legal {
    order: 1;
  }
}

/* Kontakt Section */
.kontakt {
  padding: 4rem 0;
  background-color: var(--color-bg-light);
  position: relative;
}

.kontakt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--color-grey-light) 20%, var(--color-grey-light) 80%, transparent 100%);
}

.kontakt__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
  margin: 0 0 3rem 0;
}

.kontakt__form {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.kontakt__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.kontakt__themes {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.kontakt__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.kontakt__themes .kontakt__label {
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.kontakt__theme-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .kontakt__theme-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .kontakt__theme-btn:last-child {
    margin-top: auto;
  }
}

.kontakt__theme-btn {
  width: 100%;
  padding: 0.875rem 1.25rem;
  min-height: 44px;
  background-color: white;
  border: 2px solid var(--color-secondary);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  touch-action: manipulation;
}

.kontakt__theme-btn:active {
  transform: scale(0.98);
}

.kontakt__theme-btn:hover {
  border-color: var(--color-secondary);
}

.kontakt__theme-btn.active {
  background: white;
  color: var(--color-text-primary);
  border-color: var(--color-brand);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.kontakt__fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  flex: 1;
}

.kontakt__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kontakt__field .kontakt__label {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.kontakt__input,
.kontakt__textarea {
  width: 100%;
  padding: 0.875rem;
  min-height: 44px;
  border: 2px solid var(--color-secondary);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background-color: white;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 768px) {
  .kontakt__input,
  .kontakt__textarea {
    font-size: 0.9375rem;
    padding: 0.75rem 0.875rem;
  }
}

.kontakt__input:focus,
.kontakt__textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(5, 10, 35, 0.1);
}

.kontakt__input::placeholder,
.kontakt__textarea::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.5;
}

.kontakt__textarea {
  resize: vertical;
  min-height: 160px;
  font-family: 'Inter', sans-serif;
}

@media (min-width: 768px) {
  .kontakt__field:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .kontakt__field:last-child .kontakt__textarea {
    flex: 1;
    min-height: auto;
  }
}

.kontakt__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.kontakt__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.kontakt__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-brand);
  flex-shrink: 0;
}

.kontakt__link {
  color: var(--color-brand);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.kontakt__link:hover {
  opacity: 0.8;
}

.kontakt__submit {
  padding: 0.875rem 1.75rem;
  min-height: 44px;
  background: var(--color-brand);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  width: 100%;
  touch-action: manipulation;
}

.kontakt__submit:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .kontakt__submit {
    width: auto;
  }
}

.kontakt__submit:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.kontakt__submit:active {
  transform: translateY(0);
}

.kontakt__submit svg {
  transition: transform 0.3s ease;
}

.kontakt__submit:hover svg {
  transform: translateX(4px);
}

.kontakt__message {
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  animation: slideIn 0.3s ease-out;
  width: 100%;
  order: -1;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kontakt__message--success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.kontakt__message--error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.kontakt__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.kontakt__submit:disabled:hover {
  transform: none;
  box-shadow: none;
}

.kontakt__submit:disabled:hover svg {
  transform: none;
}

/* Tablet and larger */
@media (min-width: 768px) {
  .kontakt__wrapper {
    flex-direction: row;
    gap: 3rem;
    align-items: stretch;
  }
  
  .kontakt__themes {
    flex: 0 0 280px;
    width: auto;
    display: flex;
    flex-direction: column;
  }
  
  .kontakt__fields {
    flex: 1;
    width: auto;
    display: flex;
    flex-direction: column;
  }
  
  /* Ensure labels align at top - remove any top margin */
  .kontakt__themes .kontakt__label,
  .kontakt__fields .kontakt__field:first-child .kontakt__label {
    margin-top: 0;
  }
  
  .kontakt__field:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .kontakt__field:last-child .kontakt__textarea {
    flex: 1;
    min-height: auto;
  }
  
  .kontakt__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .kontakt__checkbox-label {
    flex: 1;
    max-width: 600px;
  }

  .kontakt__submit {
    flex-shrink: 0;
  }
  
  .kontakt__message {
    order: -1;
  }
}

/* Impressum Section */
.impressum {
  padding: 6rem 0 4rem;
  background-color: var(--color-bg-light);
  min-height: calc(100vh - 200px);
}

.impressum__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 3rem;
  text-align: center;
}

.impressum__content {
  max-width: 800px;
  margin: 0 auto;
}

.impressum__section {
  margin-bottom: 2.5rem;
}

.impressum__heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.impressum__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.impressum__link {
  color: var(--color-brand);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.impressum__link:hover {
  opacity: 0.8;
}

.impressum__footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-grey-light);
}

.impressum__back-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.impressum__back-link:hover {
  color: var(--color-brand);
}

@media (min-width: 768px) {
  .impressum__footer-links {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Datenschutz Section */
.datenschutz {
  padding: 6rem 0 4rem;
  background-color: var(--color-bg-light);
  min-height: calc(100vh - 200px);
}

.datenschutz__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 3rem;
  text-align: center;
}

.datenschutz__content {
  max-width: 800px;
  margin: 0 auto;
}

.datenschutz__section {
  margin-bottom: 2.5rem;
}

.datenschutz__heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.datenschutz__heading:first-of-type {
  margin-top: 0;
}

.datenschutz__subheading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.datenschutz__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.datenschutz__list {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.datenschutz__list li {
  margin-bottom: 0.5rem;
}

.datenschutz__link {
  color: var(--color-brand);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.datenschutz__link:hover {
  opacity: 0.8;
}

.datenschutz__footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-grey-light);
}

.datenschutz__back-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.datenschutz__back-link:hover {
  color: var(--color-brand);
}

@media (min-width: 768px) {
  .datenschutz__footer-links {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Team Section */
.team {
  padding: 6rem 0 4rem;
  background-color: var(--color-bg-light);
  min-height: calc(100vh - 200px);
}

.team__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 3rem;
  text-align: center;
}

.team__group-photo {
  max-width: 750px;
  margin: 0 auto 4rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team__group-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.team__members {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team__member {
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  border: 2px solid var(--color-secondary);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 300px;
}


.team__member-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.team__member-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.team__member-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-secondary);
}

.team__member-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0;
}

.team__member-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand);
  margin: 0;
}

.team__member-education {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin: 0;
}

.team__member-company {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.team__company-link {
  color: var(--color-brand);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.team__company-link:hover {
  color: var(--color-secondary);
}

.team__member-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-grey-light);
}

.team__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.team__contact-link:hover {
  color: var(--color-brand);
}

.team__contact-link--linkedin {
  color: var(--color-secondary);
}

.team__contact-link--linkedin:hover {
  color: var(--color-brand);
}

.team__contact-link svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .team__members {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team__members {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team__member:nth-child(4) {
    grid-column: 1;
  }
  
  .team__member:nth-child(5) {
    grid-column: 2;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-text-light);
  border-top: 1px solid var(--color-grey-light);
  box-shadow: 0 -2px 10px rgba(5, 10, 35, 0.1);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  padding: 1.5rem 1rem;
}

.cookie-banner[aria-hidden="false"] {
  transform: translateY(0);
}

.cookie-banner__container {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.cookie-banner__button {
  padding: 0.875rem 1.5rem;
  min-height: 44px;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
  touch-action: manipulation;
}

.cookie-banner__button:active {
  transform: translateY(0) scale(0.98);
}

.cookie-banner__button--options {
  background-color: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-grey-medium);
}

.cookie-banner__button--options:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-secondary);
}

.cookie-banner__button--accept {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
}

.cookie-banner__button--accept:hover {
  background-color: #0a122f;
  transform: translateY(-1px);
}

.cookie-banner__button--accept:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .cookie-banner {
    padding: 1.5rem 2rem;
  }

  .cookie-banner__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner__text {
    flex: 1;
    margin-right: 2rem;
  }

  .cookie-banner__actions {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 1.5rem;
  }

  .cookie-banner__button {
    width: auto;
    min-width: 140px;
  }
}

/* Cookie Settings Modal */
.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.cookie-settings__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(5, 10, 35, 0.7);
  backdrop-filter: blur(4px);
}

.cookie-settings__modal {
  position: relative;
  background-color: var(--color-text-light);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(5, 10, 35, 0.2);
  max-width: 600px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  margin: 1rem;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 480px) {
  .cookie-settings__modal {
    width: 90%;
    margin: 0;
  }
}

.cookie-settings[aria-hidden="false"] .cookie-settings__modal {
  transform: scale(1);
}

.cookie-settings__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-grey-light);
}

.cookie-settings__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.cookie-settings__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  color: var(--color-text-secondary);
  transition: color 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  touch-action: manipulation;
}

.cookie-settings__close:active {
  background-color: rgba(5, 10, 35, 0.1);
  transform: scale(0.95);
}

.cookie-settings__close:hover {
  color: var(--color-text-primary);
}

.cookie-settings__content {
  padding: 1.5rem;
}

.cookie-settings__description {
  margin: 0 0 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.cookie-settings__group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-settings__item {
  padding: 1.25rem;
  background-color: var(--color-bg-light);
  border-radius: 6px;
  border: 1px solid var(--color-grey-light);
}

.cookie-settings__item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cookie-settings__item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.cookie-settings__item-description {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Toggle Switch */
.cookie-settings__toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  min-width: 48px;
  min-height: 24px;
  cursor: pointer;
  touch-action: manipulation;
}

.cookie-settings__toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-settings__toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-grey-medium);
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-settings__toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-settings__toggle input:checked + .cookie-settings__toggle-slider {
  background-color: var(--color-secondary);
}

.cookie-settings__toggle input:checked + .cookie-settings__toggle-slider:before {
  transform: translateX(24px);
}

.cookie-settings__toggle input:disabled + .cookie-settings__toggle-slider {
  background-color: var(--color-grey-medium-light);
  cursor: not-allowed;
}

.cookie-settings__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--color-grey-light);
}

.cookie-settings__link {
  color: var(--color-secondary);
  text-decoration: underline;
  font-size: 0.875rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

.cookie-settings__link:hover {
  opacity: 0.7;
}

.cookie-settings__button {
  padding: 0.875rem 1.5rem;
  min-height: 44px;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
  touch-action: manipulation;
}

.cookie-settings__button:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .cookie-settings__button {
    width: auto;
  }
}

.cookie-settings__button--save {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
}

.cookie-settings__button--save:hover {
  background-color: #0a122f;
  transform: translateY(-1px);
}

.cookie-settings__button--save:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .cookie-settings__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-settings__link {
    text-align: left;
  }

  .cookie-settings__button {
    min-width: 180px;
  }
}

/* Mobile First - Base styles are for mobile */
/* Media queries for larger screens will be added as needed */

