/* CSS Variables for theming */
:root {
  --primary-color: #d81e06; /* WPS Red */
  --primary-hover: #e82a13;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-color: #f7f8fa;
  --bg-white: #ffffff;
  --border-color: #eeeeee;
  --header-height: 70px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  height: var(--header-height);
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 0;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(216, 30, 6, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(216, 30, 6, 0.05);
}

/* Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  background-color: #2b2b2b;
  color: #999;
  padding: 40px 0 20px;
  text-align: center;
  font-size: 14px;
}

.footer-content {
  margin-bottom: 20px;
}

.footer-verification {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #52c41a;
  margin-bottom: 15px;
  padding: 8px 16px;
  background: rgba(82, 196, 26, 0.1);
  border-radius: 20px;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile fallback, ideally a hamburger menu would be added */
  }
}
