:root {
  --background: #ffffff;
  --text: #000000;
  --text-secondary: #666666;
  --border: #e5e5e5;
  --hover: #f3f4f6;
  --accent: #000000;
  --accent-light: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Raleway, sans-serif;
}

body {
  background-color: #f4f4f4;
  color: var(--text);
  line-height: 1.6;
}

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

nav {
  height: 80px;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  width: 40px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(10deg);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--text);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.panel-btn {
  text-decoration: none;
  background-color: var(--text);
  color: var(--background) !important;
  padding: 0.50rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--text);
}

.panel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--background);
  color: var(--text) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.lang-btn {
  background-color: var(--text);
  color: var(--background);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn:hover {
  background-color: var(--background);
  color: var(--text);
  box-shadow: 0 0 0 2px var(--text);
}

.lang-btn i {
  font-size: 1.2rem;
}

.hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--background);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero .panel-btn {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.stats {
  padding: 60px 0;
  background: var(--hover);
  margin: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  transition: transform 0.3s ease;
  padding: 2rem;
  border-radius: 12px;
}

.stat-item:hover {
  transform: translateY(-10px);
  background-color: var(--background);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--text);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-item {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--hover);
  z-index: -1;
  transition: height 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--text);
}

.feature-item:hover::before {
  height: 100%;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  width: 60px;
  height: 60px;
  background: var(--hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--text);
  color: white;
  transform: scale(1.1);
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.cta-container {
  text-align: center;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--text);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--text);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--text);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #000000;
  padding: 4rem 0;
  margin-top: 4rem;
  color: #ffffff;
}

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

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: #ffffff;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  bottom: -8px;
  left: 0;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(20px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -15px;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #333333;
  color: #aaaaaa;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: #ffffff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  transform: translateY(-5px);
  opacity: 0.7;
}

.social-links svg {
  width: 24px;
  height: 24px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-popup {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.legal-popup-content {
  background-color: var(--background);
  margin: 5% auto;
  padding: 20px;
  border: 1px solid var(--border);
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.legal-popup-content h2 {
  margin-bottom: 20px;
}

.close-popup {
  color: var(--text-secondary);
  background-color: var(--background);
  float: right;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.close-popup:hover,
.close-popup:focus {
  color: var(--text);
  background-color: var(--background);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--background);
    padding: 1rem 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 0.5rem 2rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

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

  .section-title {
    font-size: 2rem;
  }

  .feature-item {
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto 1rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.plans-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--background);
}

.plans-container {
  padding: 50px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.plan-card {
  background-color: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--text);
}

.plan-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background-color: var(--hover);
  transition: all 0.3s ease;
}

.plan-card:hover .plan-header {
  background-color: var(--text);
}

.plan-card:hover .plan-name,
.plan-card:hover .plan-price {
  color: white;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.plan-billing {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.plan-features {
  padding: 2rem;
  list-style: none;
}

.plan-feature {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.plan-feature i {
  color: var(--text);
  margin-right: 10px;
}

.plan-cta {
  padding: 0 2rem 2rem;
  text-align: center;
}

.plan-button {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--text);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--text);
}

.plan-button:hover {
  background-color: transparent;
  color: var(--text);
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}
