/* Complete redesign with modern styling, better colors, and improved typography */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #1f2937;
  background-color: #ffffff;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2rem;
}

h4 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: #374151;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

ul,
ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
  color: #374151;
}

strong {
  font-weight: 600;
  color: #111827;
}

em {
  font-style: italic;
}

/* Header - Modern Design */
header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

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

.logo a {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo a:hover {
  color: #60a5fa;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #60a5fa;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #fff;
  text-decoration: none;
}

nav a:hover::after {
  width: 100%;
}

/* Buttons - Enhanced Design */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 8px 20px rgba(100, 116, 139, 0.4);
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* Hero Section - Stunning Design */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(96, 165, 250, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.25rem;
  max-width: 850px;
  margin: 0 auto 1.5rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

/* Sections - Modern Layout */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background-color: #f9fafb;
}

.system-section,
.hyperl-section,
.use-cases,
.global-section,
.location-section,
.articles-teaser,
.faq-section {
  padding: 5rem 0;
}

.system-section h2,
.hyperl-section h2,
.use-cases h2,
.global-section h2,
.location-section h2,
.articles-teaser h2,
.faq-section h2 {
  text-align: center;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.system-section p,
.hyperl-section p,
.use-cases p,
.global-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.9;
}

/* Cards - Beautiful Design */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card h3 {
  color: #1e3a8a;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Article Cards */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.article-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.article-card h3 {
  color: #1e3a8a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.article-card p {
  color: #4b5563;
  line-height: 1.8;
}

.article-card .btn {
  margin-top: 1.5rem;
}

/* Articles Content */
.articles-intro {
  text-align: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  color: #fff;
  padding: 4rem 0;
}

.articles-intro h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 3rem;
}

.articles-intro p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
}

.article-content {
  padding: 4rem 0;
}

.article-content:nth-child(even) {
  background-color: #f9fafb;
}

.article-body {
  max-width: 850px;
  margin: 0 auto;
}

.article-body h2 {
  color: #1e3a8a;
  border-bottom: 4px solid #3b82f6;
  padding-bottom: 0.75rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 2.25rem;
}

.article-body h3 {
  color: #2563eb;
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

.article-body h4 {
  color: #3b82f6;
  margin-top: 2rem;
  font-size: 1.375rem;
}

.article-body ul,
.article-body ol {
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.article-body li {
  margin-bottom: 1rem;
  line-height: 1.9;
  color: #374151;
}

.article-body p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: #374151;
}

/* FAQ Section */
.faq-items {
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: #fff;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #3b82f6;
}

.faq-item h3 {
  color: #1e3a8a;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.faq-item p {
  margin-bottom: 0;
  line-height: 1.9;
  color: #4b5563;
}

/* Contact Page */
.contact-intro {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.contact-intro h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 3rem;
}

.contact-intro p {
  max-width: 850px;
  margin: 0 auto 1.25rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.contact-details {
  padding: 4rem 0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-item {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #bfdbfe;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.contact-item h3 {
  color: #1e3a8a;
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.contact-item a {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2563eb;
}

.contact-form {
  max-width: 650px;
  margin: 4rem auto;
  background: #fff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  margin-top: 0;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.875rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

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

.contact-form button {
  width: 100%;
  font-size: 1.0625rem;
}

/* Location Section */
.location-section {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.location-section h2 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.location-section p {
  text-align: center;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.location-description {
  max-width: 850px;
  margin: 2rem auto;
  text-align: center;
  color: #6b7280;
  line-height: 1.8;
}

.map-wrapper {
  max-width: 950px;
  margin: 3rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.disclaimer {
  max-width: 850px;
  margin: 2rem auto;
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
}

/* About Section */
.about-section h3 {
  color: #1e3a8a;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.about-section ul {
  margin-left: 2rem;
}

.about-section li {
  margin-bottom: 1rem;
  line-height: 1.9;
  color: #374151;
}

/* Privacy and Terms Pages */
.privacy-content,
.terms-content {
  max-width: 950px;
  margin: 0 auto;
  padding: 4rem 0;
}

.privacy-content h1,
.terms-content h1 {
  color: #1e3a8a;
  border-bottom: 4px solid #3b82f6;
  padding-bottom: 0.75rem;
  margin-bottom: 2.5rem;
  font-size: 2.75rem;
}

.privacy-content h2,
.terms-content h2 {
  color: #2563eb;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

.privacy-content h3,
.terms-content h3 {
  color: #3b82f6;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.privacy-content h4,
.terms-content h4 {
  color: #6b7280;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  font-weight: 600;
}

.privacy-content ul,
.terms-content ul {
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.privacy-content li,
.terms-content li {
  margin-bottom: 1rem;
  line-height: 1.9;
  color: #374151;
}

.privacy-content p,
.terms-content p {
  line-height: 1.9;
  margin-bottom: 1.25rem;
  color: #374151;
  font-size: 1.0625rem;
}

/* Footer - Modern Design */
footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about h3,
.footer-links h3 {
  color: #60a5fa;
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
  font-weight: 700;
}

.footer-about p {
  line-height: 1.9;
  color: #d1d5db;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #60a5fa;
  text-decoration: none;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 1.5rem 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 280px;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-banner .btn {
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.0625rem;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }

  header .container {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  nav {
    width: 100%;
  }

  .cards,
  .article-cards {
    grid-template-columns: 1fr;
  }

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

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cookie-banner .container {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .system-section h2,
  .hyperl-section h2,
  .use-cases h2,
  .global-section h2,
  .location-section h2,
  .articles-teaser h2,
  .faq-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .card,
  .article-card,
  .faq-item {
    padding: 1.75rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }
}
