/* ============================================
   notJustApps - Refined Modern Design
   Aesthetic: Clean Minimalism with Premium Touch
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

/* ============================================
   ROOT VARIABLES - Premium Color Palette
   ============================================ */
:root {
  /* Core Brand Colors */
  --primary: #0a0e27;
  --primary-light: #1a1f3a;
  --accent: #2969a8;
  --accent-glow: rgba(74, 159, 245, 0.2);

  /* Neutral Scale */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-50: #f1f3f5;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-400: #adb5bd;
  --gray-500: #868e96;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;

  /* Semantic Colors */
  --success: #51cf66;
  --warning: #ffd43b;
  --error: #ff6b6b;

  /* Surfaces */
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --light-surface: #f8f9fa;

  /* Typography */
  --font-display: "Manrope", -apple-system, sans-serif;
  --font-body: "Manrope", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius Scale */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows - Subtle & Refined */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE RESET & TYPOGRAPHY
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--off-white);
  overflow-x: hidden;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-subheading {
  font-size: 1.125rem;
  color: var(--gray-500);
  font-weight: 400;
  margin-top: var(--space-sm);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gray-600);
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: var(--space-sm) var(--space-lg) !important;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
  padding-top: 80px;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(79, 113, 206, 0.863) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(11, 90, 180, 0.685) 0%,
      transparent 40%
    );
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.typewriter-h1 h1 {
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
  padding-bottom: 0.1em;
  display: inline-block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--gray-600);
  margin-bottom: var(--space-2xl);
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-tagline .highlight {
  color: var(--accent);
  font-weight: 600;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--accent);
  font-size: 1.25rem;
  transition: all var(--transition-base);
}

.feature-item:hover .feature-icon {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--accent);
  color: var(--white);
}

.feature-text {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-primary i {
  transition: transform var(--transition-base);
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--primary);
}

/* ============================================
   WAVE DIVIDER (Optional)
   ============================================ */
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 100px;
}

.wave {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hero-Section Hintergrund bleibt weiß/hell */
.hero {
  background: linear-gradient(135deg, #1b71b38e 0%, #f8f9fa 100%);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
  max-width: 500px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card:hover::before {
  opacity: 1;
}

.product-icon {
  margin-bottom: var(--space-lg);
}

.product-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.product-card:hover .product-icon img {
  transform: scale(1.1);
}

.product-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
}

.product-card p {
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.product-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.product-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.product-features i {
  color: var(--success);
  font-size: 1rem;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-base);
  font-size: 0.9375rem;
  position: relative;
}

.appstore-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
  text-align: center;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(74, 159, 245, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(74, 159, 245, 0.08) 0%,
      transparent 40%
    );
}

.quote-container {
  position: relative;
  z-index: 2;
}

.quote-text {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.quote-text .highlight {
  color: var(--accent);
  position: relative;
}

.quote-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.quote-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: var(--space-xl) auto 0;
  border-radius: 2px;
}
/*
CLIENTS
*/

/* Auf Tablet: 2 Spalten */
@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Auf Mobile: 1 Spalte */
@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}
/*
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}
  */

.client-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 3rem auto 0;
  width: 100%;
}

.client-logo {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.client-logo:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.client-logo img {
  max-width: 200px;
  display: block;
  margin: 0 auto;
}

.client-logo:hover img {
  filter: grayscale(0%);
}

/* Kleines Popup */
.client-popup {
  max-width: 350px;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: var(--primary);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

/* Kleiner Pfeil nach unten */
.client-popup::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--primary);
}

.client-wrapper:hover .client-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(-105%);
}

.client-popup h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.client-popup p {
  color: var(--gray-100);
  font-size: 0.8rem;
  margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--off-white);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
}

.contact-info-card p {
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.contact-email {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-2xl);
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-base);
  margin-bottom: var(--space-xl);
  font-size: 0.9375rem;
}

.contact-button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.social-links a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  color: var(--gray-600);
  transition: all var(--transition-base);
  font-size: 1.25rem;
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-about p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  padding: var(--space-xl) 0;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cookie-text h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.cookie-text p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

.cookie-btn {
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  font-size: 0.9375rem;
}

.accept-all {
  background: var(--primary);
  color: var(--white);
}

.accept-all:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.accept-necessary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.accept-necessary:hover {
  background: var(--gray-200);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.cookie-settings-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--gray-100);
}

.cookie-settings-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.cookie-settings-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.cookie-settings-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.cookie-settings-body {
  padding: var(--space-xl);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-100);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.cookie-option-info p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.cookie-toggle {
  position: relative;
  flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 52px;
  height: 28px;
  background: var(--gray-200);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition-base);
}

.cookie-toggle input[type="checkbox"]:checked {
  background: var(--accent);
}

.cookie-toggle input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: var(--white);
  top: 2px;
  left: 2px;
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.cookie-toggle input[type="checkbox"]:checked::before {
  transform: translateX(24px);
}

.cookie-toggle.disabled input[type="checkbox"] {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-settings-footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.save-settings,
.accept-all-settings {
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  font-size: 0.9375rem;
}

.save-settings {
  background: var(--gray-100);
  color: var(--gray-700);
}

.save-settings:hover {
  background: var(--gray-200);
}

.accept-all-settings {
  background: var(--primary);
  color: var(--white);
}

.accept-all-settings:hover {
  background: var(--primary-light);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FADE IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  :root {
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .client-logo {
    padding: 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--white);
    padding: var(--space-xl);
    gap: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-220%);
    transition: transform var(--transition-base);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  .hero-features {
    gap: var(--space-lg);
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Cookie Banner */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-info-card {
    padding: var(--space-2xl);
  }

  .social-links a {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }
}
.diagonal-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(74, 159, 245, 0.03) 20px,
    rgba(74, 159, 245, 0.03) 40px
  );
  opacity: 0.5;
}
/* ============================================
   FLOATING PARTICLES
   ============================================ */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 15s;
}

.particle:nth-child(2) {
  left: 20%;
  top: 60%;
  animation-delay: 2s;
  animation-duration: 18s;
  width: 6px;
  height: 6px;
}

.particle:nth-child(3) {
  left: 35%;
  top: 30%;
  animation-delay: 4s;
  animation-duration: 22s;
}

.particle:nth-child(4) {
  left: 50%;
  top: 70%;
  animation-delay: 1s;
  animation-duration: 16s;
  width: 10px;
  height: 10px;
}

.particle:nth-child(5) {
  left: 65%;
  top: 40%;
  animation-delay: 3s;
  animation-duration: 19s;
}

.particle:nth-child(6) {
  left: 80%;
  top: 25%;
  animation-delay: 5s;
  animation-duration: 21s;
  width: 7px;
  height: 7px;
}

.particle:nth-child(7) {
  left: 85%;
  top: 65%;
  animation-delay: 2.5s;
  animation-duration: 17s;
}

.particle:nth-child(8) {
  left: 15%;
  top: 80%;
  animation-delay: 4.5s;
  animation-duration: 20s;
  width: 9px;
  height: 9px;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  25% {
    transform: translate(20px, -30px) scale(1.2);
    opacity: 0.25;
  }
  50% {
    transform: translate(-15px, -60px) scale(0.9);
    opacity: 0.2;
  }
  75% {
    transform: translate(25px, -40px) scale(1.1);
    opacity: 0.3;
  }
}
