/* ========================================
   TECHBRIDGE BONN - GEOMETRIC STRUCTURED DESIGN
   Modern, Angular, Precise
   ======================================== */

/* CSS RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1a252f;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* TYPOGRAPHY - GEOMETRIC STYLE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 32px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #c0392b 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

a {
  color: #c0392b;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #34495e;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* HEADER - GEOMETRIC STRUCTURED */
header {
  background: linear-gradient(135deg, #1a252f 0%, #34495e 100%);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header img {
  height: 50px;
  width: auto;
}

/* MAIN NAVIGATION - ANGULAR DESIGN */
.main-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  background: transparent;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  transition: all 0.3s ease;
}

.main-nav a:hover {
  background: #c0392b;
  color: #ffffff;
  transform: translateY(-2px);
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #c0392b;
  transition: width 0.3s ease;
}

.main-nav a:hover::before {
  width: 100%;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  background: #c0392b;
  color: #ffffff;
  border: none;
  font-size: 28px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #34495e;
  transform: rotate(90deg);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #1a252f 0%, #34495e 100%);
  z-index: 1050;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #c0392b;
  color: #ffffff;
  border: none;
  font-size: 32px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: #ffffff;
  color: #c0392b;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.mobile-nav a {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  padding: 16px 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 90%;
  text-align: center;
  background: rgba(255,255,255,0.05);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: #c0392b;
  transform: translateX(10px);
}

/* HERO SECTION - GEOMETRIC PRECISION */
.hero {
  background: linear-gradient(135deg, #1a252f 0%, #34495e 50%, #c0392b 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(192, 57, 43, 0.1);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.hero .subheadline {
  font-size: 20px;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

/* BUTTONS - ANGULAR GEOMETRIC */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #c0392b;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.4);
}

.btn-primary:hover {
  background: #a02d24;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: #1a252f;
  transform: translateY(-3px);
}

/* TRUST BADGES - GEOMETRIC LAYOUT */
.trust-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.trust-badges span {
  background: rgba(255,255,255,0.15);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  backdrop-filter: blur(10px);
}

.trust-indicators {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.trust-indicators span {
  background: rgba(255,255,255,0.15);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  backdrop-filter: blur(10px);
}

/* SECTIONS - STRUCTURED SPACING */
.section,
section {
  padding: 60px 20px;
  margin-bottom: 0;
}

/* SERVICE GRIDS - FLEXBOX ONLY */
.service-grid,
.device-grid,
.software-grid,
.category-grid,
.application-grid,
.trend-grid,
.feature-grid,
.criteria-grid,
.usp-grid,
.process-grid,
.challenge-grid,
.case-study-grid,
.package-grid,
.contact-grid,
.detailed-services,
.resource-grid,
.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 32px;
}

/* CARDS - GEOMETRIC STRUCTURED DESIGN */
.service-card,
.device-card,
.software-card,
.category-card,
.application,
.trend-card,
.feature,
.criterion,
.usp,
.process-step,
.step,
.challenge,
.case-study,
.package,
.contact-card,
.service-detail,
.resource-card {
  background: #ffffff;
  padding: 32px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  border-left: 4px solid #c0392b;
}

.service-card:hover,
.device-card:hover,
.software-card:hover,
.category-card:hover,
.trend-card:hover,
.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(192, 57, 43, 0.2);
  border-left-width: 8px;
}

.service-card h3,
.device-card h3,
.software-card h3,
.category-card h3 {
  color: #1a252f;
  margin-bottom: 16px;
  font-size: 20px;
}

.service-card p,
.device-card p,
.software-card p,
.category-card p {
  color: #34495e;
  margin-bottom: 20px;
}

.service-card a,
.category-card a,
.resource-card a {
  color: #c0392b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  display: inline-block;
  padding: 8px 16px;
  background: rgba(192, 57, 43, 0.1);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  transition: all 0.3s ease;
}

.service-card a:hover,
.category-card a:hover,
.resource-card a:hover {
  background: #c0392b;
  color: #ffffff;
}

/* RATINGS - GEOMETRIC DISPLAY */
.rating {
  font-size: 18px;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(192, 57, 43, 0.1);
  display: inline-block;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

/* PRICE BADGES - ANGULAR DESIGN */
.price,
.price-badge,
.price-tag,
.price-badge {
  font-size: 24px;
  font-weight: 700;
  color: #c0392b;
  margin: 16px 0;
  display: inline-block;
  padding: 12px 24px;
  background: rgba(192, 57, 43, 0.1);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

span.price-badge,
span.price-tag {
  font-size: 16px;
  padding: 8px 16px;
}

/* PROS/CONS - STRUCTURED LAYOUT */
.pros-cons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}

.pros,
.cons {
  flex: 1 1 calc(50% - 12px);
  min-width: 200px;
}

.pros h4 {
  color: #27ae60;
  margin-bottom: 12px;
  font-size: 16px;
}

.cons h4 {
  color: #c0392b;
  margin-bottom: 12px;
  font-size: 16px;
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
}

.pros li::before {
  content: '✓ ';
  color: #27ae60;
  font-weight: 700;
  margin-right: 8px;
}

.cons li::before {
  content: '✗ ';
  color: #c0392b;
  font-weight: 700;
  margin-right: 8px;
}

/* FEATURED SECTIONS */
.featured-test,
.featured-reviews {
  background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
  padding: 60px 20px;
}

.test-card-featured {
  background: #ffffff;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
  border-left: 6px solid #c0392b;
}

/* TESTIMONIALS - HIGH CONTRAST */
.testimonials {
  background: #ecf0f1;
  padding: 60px 20px;
}

.testimonial-slider,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  background: #ffffff;
  padding: 32px;
  flex: 1 1 calc(50% - 12px);
  min-width: 300px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
  border-left: 4px solid #c0392b;
}

.testimonial-card p {
  color: #1a252f;
  font-style: italic;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.testimonial-card cite {
  color: #34495e;
  font-weight: 700;
  font-style: normal;
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #ecf0f1;
}

/* VALUE PROPOSITION */
.value-proposition {
  background: #ffffff;
  padding: 60px 20px;
}

/* METHODOLOGY CONTENT */
.methodology-content {
  max-width: 800px;
  margin: 32px auto;
}

.methodology-content ul li {
  padding: 12px 0;
  border-bottom: 1px solid #ecf0f1;
}

/* SERVICE HIGHLIGHT */
.service-highlight,
.service-offering,
.consultation-cta,
.consultation-booking,
.appointment-booking {
  background: linear-gradient(135deg, #1a252f 0%, #34495e 100%);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
}

.service-highlight h2,
.service-offering h2,
.consultation-cta h2 {
  color: #ffffff;
}

.service-highlight h2::after,
.service-offering h2::after,
.consultation-cta h2::after {
  background: linear-gradient(90deg, #c0392b 0%, transparent 100%);
}

.service-highlight .price,
.service-offering .price {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

/* PACKAGES - STRUCTURED GRID */
.package {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.package.recommended {
  border: 3px solid #c0392b;
  transform: scale(1.05);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.package h3 {
  margin-bottom: 16px;
}

.package .price {
  font-size: 32px;
  margin: 24px 0;
}

.package ul {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
}

.package ul li {
  padding: 12px 0;
  border-bottom: 1px solid #ecf0f1;
}

.package ul li::before {
  content: '▶ ';
  color: #c0392b;
  font-size: 12px;
  margin-right: 8px;
}

/* PROCESS STEPS */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  position: relative;
}

.process-step,
.step {
  position: relative;
  padding-left: 60px;
}

.process-step h3::before,
.step h3::before {
  content: attr(data-number);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: #c0392b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

/* CONTACT FORMS */
.contact-form-section {
  padding: 60px 20px;
  background: #ffffff;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-note {
  background: #ecf0f1;
  padding: 24px;
  margin-top: 24px;
  clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
  border-left: 4px solid #c0392b;
}

.form-note a {
  color: #c0392b;
  font-weight: 700;
}

/* LOCATION INFO */
.location-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 32px;
}

.address-block,
.directions-block {
  flex: 1 1 calc(50% - 20px);
  min-width: 280px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 32px auto;
}

.faq-item {
  background: #ffffff;
  padding: 24px;
  margin-bottom: 16px;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
  border-left: 4px solid #c0392b;
}

.faq-item h3 {
  color: #1a252f;
  font-size: 18px;
  margin-bottom: 12px;
}

.faq-item p {
  color: #34495e;
}

/* THANK YOU PAGE */
.thank-you-hero {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #ffffff;
  color: #27ae60;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  font-weight: 700;
}

.confirmation {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.response-time {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255,255,255,0.1);
  display: inline-block;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

/* LEGAL PAGES */
.legal-hero {
  background: linear-gradient(135deg, #34495e 0%, #1a252f 100%);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.legal-hero h1 {
  margin-bottom: 8px;
}

.legal-content {
  padding: 60px 20px;
  background: #ffffff;
}

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

.content-wrapper h2 {
  color: #1a252f;
  margin-top: 40px;
  margin-bottom: 16px;
}

.content-wrapper h3 {
  color: #34495e;
  margin-top: 24px;
  margin-bottom: 12px;
}

/* VIEW ALL LINK */
.view-all {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 32px;
  background: #c0392b;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  transition: all 0.3s ease;
}

.view-all:hover {
  background: #34495e;
  transform: translateY(-3px);
}

/* FOOTER - GEOMETRIC STRUCTURED */
footer {
  background: linear-gradient(135deg, #1a252f 0%, #34495e 100%);
  color: #ffffff;
  padding: 60px 20px 24px;
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 calc(33.333% - 40px);
  min-width: 250px;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section p,
.footer-section nav a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.8;
}

.footer-section nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-section nav a {
  transition: all 0.3s ease;
  padding: 4px 0;
}

.footer-section nav a:hover {
  color: #c0392b;
  padding-left: 8px;
}

.copyright {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* COOKIE CONSENT BANNER - GEOMETRIC DESIGN */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a252f 0%, #34495e 100%);
  color: #ffffff;
  padding: 24px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-consent.show {
  display: block;
}

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

.cookie-consent-text {
  flex: 1 1 60%;
  min-width: 300px;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  transition: all 0.3s ease;
}

.cookie-accept {
  background: #c0392b;
  color: #ffffff;
}

.cookie-accept:hover {
  background: #a02d24;
  transform: translateY(-2px);
}

.cookie-reject {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.cookie-reject:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-settings {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.5);
}

.cookie-settings:hover {
  border-color: #ffffff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

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

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #ffffff;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #c0392b;
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: #34495e;
  transform: rotate(90deg);
}

.cookie-category {
  margin-bottom: 24px;
  padding: 16px;
  background: #f8f9fa;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
}

.cookie-category h3 {
  color: #1a252f;
  font-size: 18px;
  margin-bottom: 8px;
}

.cookie-category p {
  color: #34495e;
  font-size: 14px;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-toggle label {
  font-weight: 600;
  cursor: pointer;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* NAV LINK GRID */
.nav-link {
  display: inline-block;
  padding: 16px 32px;
  background: #c0392b;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  transition: all 0.3s ease;
  text-align: center;
}

.nav-link:hover {
  background: #34495e;
  transform: translateY(-3px);
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  /* Hide desktop navigation */
  .main-nav {
    display: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero .subheadline {
    font-size: 16px;
  }
  
  /* Adjust card layouts */
  .service-card,
  .device-card,
  .software-card,
  .category-card,
  .application,
  .trend-card,
  .feature,
  .criterion,
  .usp,
  .process-step,
  .step,
  .challenge,
  .case-study,
  .package,
  .contact-card,
  .service-detail,
  .resource-card {
    flex: 1 1 100%;
  }
  
  .testimonial-card {
    flex: 1 1 100%;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Adjust buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  /* Cookie consent adjustments */
  .cookie-consent-content {
    flex-direction: column;
  }
  
  .cookie-consent-text {
    flex: 1 1 100%;
  }
  
  .cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  /* Process steps */
  .process-step,
  .step {
    padding-left: 0;
  }
  
  /* Pros/cons layout */
  .pros,
  .cons {
    flex: 1 1 100%;
  }
  
  /* Location details */
  .address-block,
  .directions-block {
    flex: 1 1 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .service-card,
  .device-card,
  .software-card,
  .category-card,
  .trend-card {
    flex: 1 1 calc(50% - 12px);
  }
  
  .package {
    flex: 1 1 calc(50% - 12px);
  }
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

.mb-32 {
  margin-bottom: 32px;
}

/* ANIMATIONS */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ACCESSIBILITY */
:focus {
  outline: 3px solid #c0392b;
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 3px solid #c0392b;
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal {
    display: none;
  }
  
  body {
    background: #ffffff;
    color: #000000;
  }
  
  .container {
    max-width: 100%;
  }
}