@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette - Updated for aggressive dark mode */
  --primary-black: #0a0a0a;
  --secondary-black: #121212;
  --primary-red: #ff0000;
  --primary-white: #ffffff;
  --dark-gray: #1a1a1a;
  --medium-gray: #333333;
  --light-gray: #888888;
  --hover-red: #cc0000;
  --transparent-black: rgba(10, 10, 10, 0.95);
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  --red-glow: 0 0 15px rgba(255, 0, 0, 0.4);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

html, body {
  overflow-x: hidden;
  background-color: var(--secondary-black);
  color: var(--light-gray);
  line-height: 1.6;
}

section {
  scroll-margin-top: 80px;
  padding: 70px 5%;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-white);
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 12px;
  text-transform: uppercase;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
  box-shadow: var(--red-glow);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--hover-red);
  text-shadow: var(--red-glow);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-black);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  padding: 15px 5%;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--primary-red);
}

header.scrolled {
  padding: 10px 5%;
  background: var(--transparent-black);
}

.logo img {
  width: 100px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.3));
}

.logo img:hover {
  transform: scale(1.05);
}

.navbar {
  display: flex;
  gap: 1rem;
  list-style: none;
  flex-grow: 1;
  justify-content: center;
}

.navbar a {
  font-size: 0.95rem;
  padding: 8px 15px;
  color: var(--primary-white);
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease, box-shadow 0.3s ease;
}

.navbar a:hover {
  color: var(--primary-white);
}

.navbar a:hover::after {
  width: 70%;
  box-shadow: var(--red-glow);
}

.navbar a.active::after {
  width: 70%;
  box-shadow: var(--red-glow);
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--primary-white);
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: var(--hover-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-login {
  background-color: var(--primary-red);
  color: var(--primary-white);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-login:hover {
  background-color: var(--hover-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
}

/* Mobile Menu */
#menu-icon {
  font-size: 24px;
  color: var(--primary-white);
  cursor: pointer;
  z-index: 1001;
  display: none;
  transition: all 0.3s ease;
}

#menu-icon:hover {
  color: var(--primary-red);
  text-shadow: var(--red-glow);
}

/* Modern Cards */
.card {
  background-color: var(--dark-gray);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 25px;
  border-left: 3px solid var(--primary-red);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 5px rgba(255, 0, 0, 0.2);
}

.card-header {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding: 20px;
  border-bottom: 3px solid var(--primary-red);
}

.card-body {
  padding: 25px;
  color: var(--light-gray);
}

/* Privacy Policy Section */
#privacy-policy {
  padding: 100px 0 70px;
  background-color: var(--secondary-black);
}

.privacy-content {
  background-color: var(--dark-gray);
  border-radius: 4px;
  box-shadow: var(--box-shadow);
  padding: 35px;
  margin-top: 30px;
  border-left: 3px solid var(--primary-red);
}

.privacy-content h4 {
  font-size: 1.3rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  color: var(--primary-white);
}

.privacy-content h4 i {
  margin-right: 10px;
  color: var(--primary-red);
}

.privacy-content ul {
  list-style: none;
  margin: 15px 0 25px 20px;
}

.privacy-content ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
  color: var(--light-gray);
}

.privacy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--primary-red);
  border-radius: 0;
  box-shadow: var(--red-glow);
}

/* Footer Styles */
#professional-footer {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding-top: 70px;
  border-top: 1px solid var(--primary-red);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about {
  flex: 1 1 300px;
}

.footer-about img {
  max-width: 160px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.3));
}

.footer-about p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links, .footer-contact, .footer-social {
  flex: 1 1 200px;
}

.footer-top h3 {
  color: var(--primary-white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  text-transform: uppercase;
}

.footer-top h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-red);
  box-shadow: var(--red-glow);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--light-gray);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--primary-red);
  transform: translateX(5px);
  text-shadow: var(--red-glow);
}

.footer-contact p {
  color: var(--light-gray);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  color: var(--primary-red);
  margin-right: 10px;
  min-width: 20px;
  text-shadow: var(--red-glow);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--medium-gray);
  color: var(--primary-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.social-icons a:hover {
  background-color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3), var(--red-glow);
  border-color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid var(--medium-gray);
  padding: 25px 0;
  text-align: center;
}

.footer-legal {
  margin-bottom: 15px;
}

.footer-legal a {
  color: var(--light-gray);
  margin: 0 15px;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--primary-red);
  text-shadow: var(--red-glow);
}

.footer-bottom p {
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* Visual Elements */
.highlight {
  background-color: rgba(255, 0, 0, 0.15);
  padding: 3px 5px;
  border-radius: 2px;
  color: var(--primary-red);
  font-weight: 500;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: var(--medium-gray);
  margin: 30px 0;
}

.accent-border-left {
  border-left: 3px solid var(--primary-red);
  padding-left: 15px;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 992px) {
  section {
    padding: 60px 5%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  #menu-icon {
    display: block;
  }
  
  .navbar {
    display: none;
    width: 100%;
    background-color: var(--transparent-black);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    height: 100vh;
    padding: 80px 0;
    flex-direction: column;
    z-index: 999;
  }

  .navbar.active {
    display: flex;
  }

  .navbar a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
  }
  
  /* Content Adjustments */
  section {
    padding: 50px 4%;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .privacy-content {
    padding: 25px 20px;
  }
  
  /* Footer Adjustments */
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-about, .footer-links, .footer-contact, .footer-social {
    flex: 1 1 100%;
  }
  
  .footer-legal a {
    margin: 0 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 4%;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .btn, .btn-login {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .privacy-content {
    padding: 20px 15px;
  }
  
  .card-header, .card-body {
    padding: 15px;
  }
  
  .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-legal a {
    margin: 5px 0;
  }
}