/* ============================================
   CRYSTAL HOWL - ELEGANT CLASSIC DESIGN
   Timeless elegance with refined elements
   ============================================ */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.8;
  color: #2d2d2d;
  background-color: #faf8f5;
  overflow-x: hidden;
}

/* Typography - Elegant Classic */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

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

h2 {
  font-size: 36px;
  margin-bottom: 28px;
}

h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
  color: #3d3d3d;
}

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

a:hover {
  color: #1a2556;
  text-decoration: underline;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 40px;
}

li {
  margin-bottom: 12px;
  line-height: 1.7;
}

strong {
  font-weight: 600;
  color: #1a1a1a;
}

/* Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
header {
  background-color: #ffffff;
  border-bottom: 2px solid #e8e4de;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #2d2d2d;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #2C3E90;
  border-bottom-color: #2C3E90;
  text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  background-color: #2C3E90;
  color: #ffffff;
  border: none;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(44, 62, 144, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #1a2556;
  transform: scale(1.05);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1050;
  padding: 80px 32px 32px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  font-size: 32px;
  color: #2d2d2d;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  color: #2C3E90;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav a {
  font-family: 'Georgia', serif;
  font-size: 20px;
  color: #2d2d2d;
  padding: 16px 0;
  border-bottom: 1px solid #e8e4de;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: #2C3E90;
  padding-left: 12px;
  text-decoration: none;
}

/* Hero Sections */
.hero {
  background: linear-gradient(135deg, #f5f2ed 0%, #e8e4de 100%);
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
  border-bottom: 3px solid #d4cfc5;
}

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

.hero h1 {
  font-size: 56px;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.2;
}

.subheadline {
  font-size: 24px;
  color: #4d4d4d;
  margin-bottom: 32px;
  font-style: italic;
}

.value-proposition {
  font-size: 18px;
  color: #5d5d5d;
  margin-bottom: 40px;
  font-weight: 500;
}

.trust-badge {
  font-size: 16px;
  color: #6d6d6d;
  margin-top: 32px;
  font-style: italic;
}

/* Error Page Hero */
.error-hero {
  background: linear-gradient(135deg, #f9f6f2 0%, #ece8e0 100%);
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: #2C3E90;
  opacity: 0.2;
  margin-bottom: 20px;
  font-family: 'Garamond', serif;
}

/* Legal Page Hero */
.legal-hero {
  background: linear-gradient(135deg, #faf8f5 0%, #f0ece4 100%);
  padding: 60px 20px;
}

.legal-hero h1 {
  font-size: 42px;
}

/* Thank You Hero */
.thank-you-hero {
  background: linear-gradient(135deg, #f5f2ed 0%, #e8e4de 100%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: #2C3E90;
  color: #ffffff;
  border-color: #2C3E90;
}

.btn-primary:hover {
  background-color: #1a2556;
  border-color: #1a2556;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(44, 62, 144, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: #2C3E90;
  border-color: #2C3E90;
}

.btn-secondary:hover {
  background-color: #2C3E90;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(44, 62, 144, 0.2);
  text-decoration: none;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Sections */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

section h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 48px;
  color: #1a1a1a;
}

/* Service Grid */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.service-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  flex: 1 1 calc(33.333% - 32px);
  min-width: 280px;
  max-width: 380px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: #2C3E90;
}

.service-card h3 {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.service-card p {
  color: #4d4d4d;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  color: #2C3E90;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.service-link:hover {
  border-bottom-color: #2C3E90;
  text-decoration: none;
}

.service-card .price {
  font-size: 28px;
  font-weight: 700;
  color: #2C3E90;
  margin: 20px 0;
  font-family: 'Garamond', serif;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 32px;
}

.feature-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
  color: #3d3d3d;
}

.feature-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2C3E90;
  font-weight: 700;
  font-size: 20px;
}

/* Metrics Grid */
.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.metric-card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  text-align: center;
  flex: 1 1 calc(25% - 32px);
  min-width: 200px;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #d4cfc5;
}

.metric-number {
  font-size: 48px;
  font-weight: 700;
  color: #2C3E90;
  margin-bottom: 12px;
  font-family: 'Garamond', serif;
}

.metric-label {
  font-size: 16px;
  color: #5d5d5d;
  font-weight: 500;
}

/* Card Grids (Generic) */
.card-container,
.criteria-grid,
.category-grid,
.topic-grid,
.ecosystem-grid,
.resource-grid,
.comparison-grid,
.list-grid,
.inquiry-grid,
.guide-categories,
.application-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 40px;
}

.card,
.criteria-card,
.category-card,
.topic-card,
.ecosystem-card,
.resource-card,
.comparison-card,
.list-card,
.inquiry-card,
.application-card {
  background-color: #ffffff;
  padding: 28px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  flex: 1 1 calc(33.333% - 28px);
  min-width: 260px;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.card:hover,
.criteria-card:hover,
.category-card:hover,
.topic-card:hover,
.ecosystem-card:hover,
.resource-card:hover,
.comparison-card:hover,
.list-card:hover,
.inquiry-card:hover,
.application-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  border-color: #d4cfc5;
}

.card h3,
.criteria-card h3,
.category-card h3,
.topic-card h3,
.ecosystem-card h3,
.resource-card h3,
.comparison-card h3,
.list-card h3,
.inquiry-card h3,
.application-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.card p,
.criteria-card p,
.category-card p,
.topic-card p,
.ecosystem-card p,
.resource-card p,
.comparison-card p,
.list-card p,
.inquiry-card p,
.application-card p {
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.7;
}

/* Page Links Grid (404 page) */
.page-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.page-link-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  max-width: 350px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: #2C3E90;
  text-decoration: none;
}

.page-link-card h3 {
  color: #1a1a1a;
  font-size: 22px;
  margin-bottom: 8px;
}

.page-link-card p {
  color: #5d5d5d;
  font-size: 15px;
}

/* Contact Cards */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 60px;
}

.contact-card {
  background-color: #ffffff;
  padding: 36px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  flex: 1 1 calc(33.333% - 32px);
  min-width: 280px;
  text-align: center;
}

.contact-card h3 {
  color: #1a1a1a;
  margin-bottom: 16px;
  font-size: 24px;
}

.contact-card p {
  color: #4d4d4d;
  margin-bottom: 12px;
}

.contact-card a {
  color: #2C3E90;
  font-weight: 600;
}

/* Process Flow */
.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
}

.process-step {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  flex: 1 1 calc(25% - 32px);
  min-width: 220px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #2C3E90;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Garamond', serif;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 15px;
  color: #4d4d4d;
}

/* Testimonials */
.testimonials {
  background-color: #f5f2ed;
  padding: 60px 20px;
  margin-bottom: 60px;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  flex: 1 1 calc(50% - 32px);
  min-width: 300px;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.testimonial-card p {
  font-size: 17px;
  font-style: italic;
  color: #2d2d2d;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 2px solid #e8e4de;
  padding-top: 16px;
}

.testimonial-author strong {
  color: #1a1a1a;
  font-size: 16px;
}

.testimonial-author span {
  color: #6d6d6d;
  font-size: 14px;
}

/* DSGVO Rights Grid */
.rights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 40px;
}

.right-card {
  background-color: #ffffff;
  padding: 28px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  flex: 1 1 calc(50% - 28px);
  min-width: 280px;
}

.right-card h3 {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.right-card p {
  color: #4d4d4d;
  font-size: 15px;
}

/* Cookie Categories */
.cookie-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 32px 0;
}

/* CTA Sections */
.cta-banner,
.cta-service,
.cta-contact {
  background: linear-gradient(135deg, #2C3E90 0%, #1a2556 100%);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 60px;
  border-radius: 8px;
}

.cta-banner h2,
.cta-service h2,
.cta-contact h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-banner p,
.cta-service p,
.cta-contact p {
  color: #e8e4de;
  font-size: 20px;
  margin-bottom: 32px;
}

.price-display {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 24px 0;
  font-family: 'Garamond', serif;
}

.response-time {
  font-size: 16px;
  color: #b5b0a9;
  font-style: italic;
  margin-top: 20px;
}

/* Legal Content */
.legal-content {
  padding: 40px 20px;
  margin-bottom: 60px;
}

.legal-content h2 {
  text-align: left;
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.legal-content h3 {
  text-align: left;
  font-size: 24px;
  margin-top: 28px;
  margin-bottom: 16px;
  color: #2d2d2d;
}

.legal-content p {
  margin-bottom: 20px;
  color: #3d3d3d;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 24px;
  padding-left: 40px;
}

.legal-content li {
  margin-bottom: 12px;
  color: #3d3d3d;
}

/* Error Message Section */
.error-message {
  padding: 40px 20px;
  margin-bottom: 40px;
}

.friendly-message {
  font-size: 22px;
  color: #2C3E90;
  font-style: italic;
  margin-bottom: 32px;
  text-align: center;
}

.helpful-suggestion {
  font-size: 20px;
  color: #4d4d4d;
  text-align: center;
  margin-top: 32px;
}

/* Popular Pages Section */
.popular-pages {
  padding: 60px 20px;
  background-color: #f5f2ed;
  margin-bottom: 40px;
}

/* Help Section */
.help-section {
  padding: 60px 20px;
  text-align: center;
}

/* Value Proposition Section */
.value-proposition {
  background-color: #f5f2ed;
  padding: 60px 20px;
  margin-bottom: 60px;
}

/* Trust Indicators */
.trust-indicators {
  padding: 60px 20px;
  background-color: #ffffff;
  margin-bottom: 60px;
}

/* Testing Methodology */
.testing-methodology {
  padding: 60px 20px;
  background-color: #f5f2ed;
  margin-bottom: 60px;
}

/* Buyers Guide */
.buyers-guide {
  padding: 60px 20px;
  margin-bottom: 60px;
}

.use-case-recommendations {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 2px solid #e8e4de;
  margin-top: 40px;
}

.use-case-recommendations h3 {
  font-size: 26px;
  margin-bottom: 20px;
  text-align: left;
}

.use-case-recommendations ul {
  list-style: none;
  padding-left: 0;
}

.use-case-recommendations li {
  padding: 16px 0;
  border-bottom: 1px solid #e8e4de;
  color: #3d3d3d;
}

.use-case-recommendations li:last-child {
  border-bottom: none;
}

/* Category Navigation */
.category-navigation {
  padding: 60px 20px;
  margin-bottom: 60px;
}

/* Comparison Tables */
.comparison-tables {
  padding: 60px 20px;
  background-color: #f5f2ed;
  margin-bottom: 60px;
}

/* Best of Lists */
.best-of-lists {
  padding: 60px 20px;
  margin-bottom: 60px;
}

/* Topic Navigation */
.topic-navigation {
  padding: 60px 20px;
  margin-bottom: 60px;
}

/* Business Applications */
.business-applications {
  padding: 60px 20px;
  background-color: #f5f2ed;
  margin-bottom: 60px;
  text-align: center;
}

.business-applications .subheadline {
  font-size: 20px;
  margin-bottom: 40px;
}

/* Educational Content */
.educational-content {
  padding: 60px 20px;
  margin-bottom: 60px;
}

/* Ecosystem Map */
.ecosystem-map {
  padding: 60px 20px;
  margin-bottom: 60px;
}

/* Resources Hub */
.resources-hub {
  padding: 60px 20px;
  background-color: #f5f2ed;
  margin-bottom: 60px;
}

/* Submit Startup */
.submit-startup {
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.submit-startup .subheadline {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Services Detailed */
.services-detailed {
  padding: 60px 20px;
  margin-bottom: 60px;
}

/* Services Overview */
.services-overview {
  padding: 60px 20px;
  background-color: #f5f2ed;
  margin-bottom: 60px;
}

/* Contact Methods */
.contact-methods {
  padding: 60px 20px;
  margin-bottom: 40px;
}

/* Inquiry Types */
.inquiry-types {
  padding: 60px 20px;
  background-color: #f5f2ed;
  margin-bottom: 60px;
}

/* Location Info */
.location-info {
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
}

/* Response Time */
.response-time {
  padding: 40px 20px;
  background-color: #abacaf;
  text-align: center;
  margin-bottom: 60px;
}

/* Confirmation Message */
.confirmation-message {
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.confirmation-message ol {
  text-align: left;
  max-width: 500px;
  margin: 32px auto;
  padding-left: 24px;
}

.confirmation-message li {
  margin-bottom: 16px;
  color: #3d3d3d;
}

/* Additional Resources */
.additional-resources {
  padding: 60px 20px;
  background-color: #f5f2ed;
  margin-bottom: 40px;
}

/* Back Navigation */
.back-navigation {
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 60px;
}

/* Confirmation Content */
.confirmation-content {
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 60px;
}

/* Footer */
footer {
  background-color: #2d2d2d;
  color: #e8e4de;
  padding: 60px 20px 24px;
  border-top: 3px solid #2C3E90;
}

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

.footer-column {
  flex: 1 1 280px;
  min-width: 250px;
}

.footer-column h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.footer-column p {
  color: #c4c0b8;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-column a {
  color: #e8e4de;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-logo {
  height: 45px;
  width: auto;
  margin-bottom: 20px;
}

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

.footer-nav a {
  color: #c4c0b8;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: #ffffff;
  padding-left: 8px;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #4d4d4d;
}

.footer-bottom p {
  color: #9d9d9d;
  font-size: 14px;
  margin: 0;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 3px solid #2C3E90;
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  display: block;
  transform: translateY(0);
}

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

.cookie-banner-text {
  flex: 1 1 400px;
  color: #2d2d2d;
  font-size: 15px;
  line-height: 1.6;
}

.cookie-banner-text p {
  margin-bottom: 8px;
}

.cookie-banner-text a {
  color: #2C3E90;
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 28px;
  font-family: 'Georgia', serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: #2C3E90;
  color: #ffffff;
  border-color: #2C3E90;
}

.cookie-btn-accept:hover {
  background-color: #1a2556;
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background-color: transparent;
  color: #2C3E90;
  border-color: #2C3E90;
}

.cookie-btn-reject:hover {
  background-color: #f5f2ed;
}

.cookie-btn-settings {
  background-color: transparent;
  color: #5d5d5d;
  border-color: #c4c0b8;
}

.cookie-btn-settings:hover {
  background-color: #f5f2ed;
  border-color: #9d9d9d;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.cookie-modal-content {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #5d5d5d;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  color: #2C3E90;
  transform: rotate(90deg);
}

.cookie-modal h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: #1a1a1a;
  text-align: left;
}

.cookie-category {
  border-bottom: 1px solid #e8e4de;
  padding: 20px 0;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #2d2d2d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.cookie-category p {
  color: #4d4d4d;
  font-size: 15px;
  margin-bottom: 12px;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  background-color: #c4c0b8;
  border-radius: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-toggle.active {
  background-color: #2C3E90;
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: all 0.3s ease;
}

.cookie-toggle.active:before {
  transform: translateX(24px);
}

.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 42px;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .service-card,
  .page-link-card {
    flex: 1 1 calc(50% - 32px);
  }
  
  .metric-card {
    flex: 1 1 calc(50% - 32px);
  }
}

@media (max-width: 768px) {
  /* Mobile Menu Display */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu {
    display: block;
  }
  
  /* Typography Adjustments */
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 30px;
  }
  
  h3 {
    font-size: 24px;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .subheadline {
    font-size: 20px;
  }
  
  .error-code {
    font-size: 80px;
  }
  
  /* Section Spacing */
  section {
    padding: 32px 16px;
    margin-bottom: 40px;
  }
  
  .hero {
    padding: 60px 16px;
  }
  
  /* Grid Adjustments */
  .service-card,
  .metric-card,
  .card,
  .criteria-card,
  .category-card,
  .topic-card,
  .ecosystem-card,
  .resource-card,
  .comparison-card,
  .list-card,
  .inquiry-card,
  .application-card,
  .page-link-card,
  .contact-card,
  .process-step,
  .testimonial-card,
  .right-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  /* Button Adjustments */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
  }
  
  .footer-column {
    flex: 1 1 100%;
  }
  
  /* Cookie Banner */
  .cookie-banner-content {
    flex-direction: column;
  }
  
  .cookie-banner-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-modal-content {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }
  
  .hero h1 {
    font-size: 34px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  .subheadline {
    font-size: 18px;
  }
  
  .price-display {
    font-size: 36px;
  }
  
  .metric-number {
    font-size: 40px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #2C3E90;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  header,
  footer {
    display: none;
  }
  
  body {
    background-color: #ffffff;
    color: #000000;
  }
  
  a {
    text-decoration: underline;
  }
}