/* Complete redesign with premium modern UI */
:root {
  --primary-blue: #4f76ff;
  --primary-dark: #3d5ccc;
  --light-bg: #f8faff;
  --white: #ffffff;
  --dark-text: #1a202c;
  --gray-text: #666d7d;
  --light-gray: #e8ecf1;
  --border-light: #dfe4eb;
  --accent-blue: #e8ecff;
  --shadow-sm: 0 2px 8px rgba(79, 118, 255, 0.08);
  --shadow-md: 0 8px 16px rgba(79, 118, 255, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.6;
}

/* Premium navbar */
.navbar-premium {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar-premium .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-text {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link-premium {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-text) !important;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-link-premium::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

.nav-link-premium:hover,
.nav-link-premium.active {
  color: var(--primary-blue) !important;
}

.nav-link-premium:hover::after,
.nav-link-premium.active::after {
  width: 100%;
}

/* Hero section with modern design */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
  border-bottom: 1px solid var(--light-gray);
}

.hero-content {
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-blue);
  color: var(--primary-blue);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-privacy {
  background: linear-gradient(135deg, #e8ecff 0%, #f0f4ff 100%);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-text);
  margin-bottom: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
}

/* Quick nav grid */
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.quick-nav-item {
  padding: 20px;
  background: var(--light-bg);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-nav-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
  background: var(--accent-blue);
}

.quick-nav-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
  font-size: 1.25rem;
}

.quick-nav-item h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0;
}

/* Content wrapper and sections */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--light-gray);
}

.content-section:last-of-type {
  border-bottom: none;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.section-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  min-width: 70px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0;
  line-height: 1.3;
}

.section-content {
  margin-left: 90px;
}

.section-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.section-content p:last-child {
  margin-bottom: 0;
}

.section-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-top: 24px;
  margin-bottom: 16px;
}

.subsection-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 12px;
}

/* Custom list styling */
.custom-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.custom-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--gray-text);
}

.custom-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

/* Insight and alert boxes */
.insight-box {
  background: var(--accent-blue);
  padding: 16px 20px;
  border-left: 3px solid var(--primary-blue);
  border-radius: 8px;
  margin: 20px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.insight-box strong {
  color: var(--primary-blue);
}

.security-box {
  background: #f0fff4;
  border-left-color: #10b981;
}

.security-box strong {
  color: #10b981;
}

.alert-text {
  color: #dc2626 !important;
  font-weight: 500;
  margin-top: 16px;
}

/* Link styling */
.link-premium {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.link-premium::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.2s ease;
}

.link-premium:hover {
  color: var(--primary-dark);
}

.link-premium:hover::after {
  width: 100%;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 48px;
}

.cta-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 24px;
}

.btn-premium {
  background: white;
  color: var(--primary-blue);
  padding: 12px 32px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: var(--primary-dark);
}

.cta-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
  text-align: left;
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 8px;
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
}

.contact-item a {
  color: white;
}

/* Trust statement */
.trust-statement {
  padding: 40px 0;
  background: var(--light-bg);
}

.trust-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--light-gray);
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.trust-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark-text);
}

.trust-box p {
  color: var(--gray-text);
  font-size: 1rem;
  margin: 0;
}

/* GDPR section highlight */
.gdpr-section .section-content {
  background: #f0f9ff;
  padding: 20px;
  border-radius: 8px;
  margin-left: 0;
  border-left: 3px solid #0284c7;
}

.gdpr-section .section-content .custom-list li {
  margin-bottom: 14px;
}

/* Premium footer */
.footer-premium {
  background: linear-gradient(135deg, var(--dark-text) 0%, #2d3748 100%);
  color: white;
  padding: 40px 0;
  margin-top: 80px;
  border-top: 1px solid var(--light-gray);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-link:hover,
.footer-link.active {
  color: var(--primary-blue);
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Scroll-to-top button styling */
.scroll-top-btn {
  position: fixed;
  bottom: -60px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.scroll-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(79, 118, 255, 0.3);
}

.scroll-top-btn.visible {
  bottom: 30px;
}

/* Quick nav active state */
.quick-nav-item.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.quick-nav-item.active .quick-nav-icon {
  background: white;
  color: var(--primary-blue);
}

.quick-nav-item.active h5 {
  color: white;
}

/* Home page card styling */
.legal-card {
  display: block;
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 32px 24px;
  text-decoration: none;
  color: var(--dark-text);
  transition: all 0.3s ease;
  height: 100%;
}

.legal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.legal-card-header {
  margin-bottom: 20px;
}

.legal-card-icon {
  font-size: 3rem;
}

.legal-card-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark-text);
}

.legal-card-body p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  color: var(--primary-blue);
  font-weight: 600;
  transition: all 0.2s ease;
}

.legal-card:hover .read-more {
  transform: translateX(4px);
}

/* Stats box styling */
.stat-box {
  background: linear-gradient(135deg, var(--accent-blue) 0%, rgba(79, 118, 255, 0.05) 100%);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--light-gray);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-text);
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header {
    flex-direction: column;
    gap: 12px;
  }

  .section-number {
    font-size: 1.75rem;
  }

  .section-content {
    margin-left: 0;
  }

  .quick-nav-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
  }

  .cta-contacts {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .content-section {
    padding-bottom: 24px;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 50px 20px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

  .navbar-premium .navbar-brand {
    font-size: 1.25rem;
  }

  .nav-link-premium {
    font-size: 0.9rem;
  }

  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Print styles */
@media print {
  .navbar-premium,
  .footer-premium,
  .quick-nav-grid {
    display: none;
  }

  .hero-section {
    padding: 20px 0;
    border: none;
  }

  body {
    background: white;
  }

  .content-section {
    page-break-inside: avoid;
  }
}
