@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary-bg: #121212;
  --secondary-bg: #1e1e1e;
  --card-bg: #252525;
  --text-primary: #f5f5f5;
  --text-secondary: #b3b3b3;
  --accent-red: #e62e2e;
  --accent-red-hover: #c41e1e;
  --gray-dark: #333333;
  --gray-light: #9c9c9c;
  --border-color: #393939;
  --shadow-color: rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  scroll-margin-top: 80px;
  padding: 80px 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-red);
}

/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 5%;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(12, 12, 12, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 12px 5%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 120px;
  height: auto;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.navbar a {
  font-size: 0.95rem;
  padding: 8px 15px;
  color: var(--text-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 70%;
}

.btn-login {
  background-color: var(--accent-red);
  color: var(--text-primary);
  padding: 10px 25px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(230, 46, 46, 0.2);
  border: 1px solid var(--accent-red);
}

.btn-login:hover {
  background-color: transparent;
  color: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(230, 46, 46, 0.3);
}

#menu-icon {
  font-size: 28px;
  color: var(--text-primary);
  cursor: pointer;
  display: none;
  z-index: 1001;
}

/* Footer */
#professional-footer {
  background-color: var(--primary-bg);
  color: var(--text-primary);
  padding: 70px 0 30px;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

#professional-footer .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
  gap: 40px;
}

.footer-about {
  flex: 1;
  max-width: 350px;
  min-width: 250px;
}

.footer-about img {
  width: 140px;
  margin-bottom: 25px;
}

.footer-about p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-links,
.footer-contact,
.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background: var(--accent-red);
  bottom: 0;
  left: 0;
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--accent-red);
  transform: translateX(5px);
}

.footer-contact p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: var(--accent-red);
  margin-right: 12px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-social .social-icons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-social .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-dark);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social .social-icons a:hover {
  background: var(--accent-red);
  color: var(--text-primary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-legal {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-legal a {
  color: var(--gray-light);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent-red);
}

/* Modern Aggressive License Plans Section */
#license-prices {
  background-color: var(--primary-bg);
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  width: 100%;
}

#license-prices::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23333333' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
  background-size: 20px 20px, 100% 100%;
  z-index: 1;
}

#license-prices .container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
}

#license-prices .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#license-prices h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#license-prices h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background: var(--accent-red);
  margin: 10px auto 0;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

#license-prices .text-center.mb-5 {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

#license-prices .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  perspective: 1000px;
}

#license-prices .col-md-3 {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  margin-bottom: 30px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  position: relative;
}

#license-prices .card {
  height: 100%;
  background: var(--card-bg);
  border: none;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 92%,
    95% 100%,
    0 100%
  );
  display: flex;
  flex-direction: column;
}

#license-prices .card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}

#license-prices .card:hover {
  transform: translateY(-20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

#license-prices .card-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0 15px;
}

#license-prices .card-img-top {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(230, 46, 46, 0.3));
  transition: all 0.3s ease;
}

#license-prices .card:hover .card-img-top {
  transform: rotate(10deg) scale(1.2);
  filter: drop-shadow(0 8px 15px rgba(230, 46, 46, 0.5));
}

#license-prices .card-body {
  padding: 25px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#license-prices .card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
  position: relative;
  text-align: center;
}

#license-prices .text-muted {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-light) !important;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

#license-prices h4 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 20px 0;
  letter-spacing: 0.5px;
  display: inline-block;
  position: relative;
  text-align: center;
  width: 100%;
}

#license-prices h4::before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: currentColor;
  opacity: 0.2;
  z-index: -1;
}

#license-prices .text-primary {
  color: #4d8cff !important;
}

#license-prices .text-success {
  color: #2ecc71 !important;
}

#license-prices .text-warning {
  color: #f39c12 !important;
}

#license-prices .text-danger {
  color: var(--accent-red) !important;
}

#license-prices .card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
  min-height: 80px;
  text-align: center;
  flex-grow: 1;
}

#license-prices .btn-container {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

#license-prices .btn {
  border-width: 2px;
  border-radius: 0;
  padding: 12px 25px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 75%,
    95% 100%,
    0 100%
  );
}

#license-prices .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: currentColor;
  transition: all 0.4s ease;
  z-index: -1;
}

#license-prices .btn:hover::before {
  left: 0;
}

#license-prices .btn-outline-primary {
  color: #4d8cff;
  border-color: #4d8cff;
}

#license-prices .btn-outline-primary:hover {
  color: var(--text-primary);
  background-color: transparent;
}

#license-prices .btn-outline-success {
  color: #2ecc71;
  border-color: #2ecc71;
}

#license-prices .btn-outline-success:hover {
  color: var(--text-primary);
  background-color: transparent;
}

#license-prices .btn-outline-warning {
  color: #f39c12;
  border-color: #f39c12;
}

#license-prices .btn-outline-warning:hover {
  color: var(--text-primary);
  background-color: transparent;
}

#license-prices .btn-outline-danger {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

#license-prices .btn-outline-danger:hover {
  color: var(--text-primary);
  background-color: transparent;
}

/* Highlight the annual plan */
#license-prices .col-md-3:nth-child(4) .card {
  background: linear-gradient(135deg, #252525 0%, #1e1e1e 100%);
  border-top: 4px solid var(--accent-red);
}

#license-prices .col-md-3:nth-child(4) .card::after {
  content: 'RECOMENDADO';
  position: absolute;
  top: 32px;
  right: -50px;
  background-color: var(--accent-red);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 0;
  width: 200px;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  text-align: center;
  z-index: 2;
  overflow: visible;
}

/* Add geometric accent elements */
#license-prices .col-md-3:nth-child(1)::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: rgba(77, 140, 255, 0.1);
  top: -30px;
  left: -30px;
  transform: rotate(45deg);
  z-index: 0;
}

#license-prices .col-md-3:nth-child(2)::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: rgba(46, 204, 113, 0.1);
  bottom: -30px;
  right: -30px;
  transform: rotate(45deg);
  z-index: 0;
}

#license-prices .col-md-3:nth-child(3)::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: rgba(243, 156, 18, 0.1);
  top: -30px;
  right: -30px;
  transform: rotate(45deg);
  z-index: 0;
}

#license-prices .col-md-3:nth-child(4)::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: rgba(230, 46, 46, 0.1);
  bottom: -30px;
  left: -30px;
  transform: rotate(45deg);
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  #license-prices h2 {
    font-size: 2.4rem;
  }
  
  #license-prices .text-center.mb-5 {
    font-size: 1.05rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  #license-prices {
    padding: 80px 0;
  }
  
  #license-prices .col-md-3 {
    min-width: 220px;
    max-width: 100%;
    width: calc(50% - 15px);
  }
  
  #license-prices h4 {
    font-size: 2rem;
  }
  
  #license-prices .card-title {
    font-size: 1.5rem;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  header {
    padding: 15px 15px;
  }
  
  #menu-icon {
    display: block;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: var(--secondary-bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    border-radius: 0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 999;
  }
  
  .navbar.active {
    right: 0;
  }
  
  .navbar a {
    margin: 0;
    padding: 15px 20px;
    width: 100%;
    font-size: 1rem;
    text-align: left;
  }
  
  .navbar a::after {
    display: none;
  }
  
  .btn-login {
    margin: 15px 20px;
    width: calc(100% - 40px);
    text-align: center;
  }
  
  #license-prices {
    padding: 60px 0;
  }
  
  #license-prices h2 {
    font-size: 2rem;
  }
  
  #license-prices .text-center.mb-5 {
    margin-bottom: 40px;
  }
  
  #license-prices .row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  #license-prices .col-md-3 {
    width: 100%;
    max-width: 350px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-social {
    width: 100%;
    max-width: 100%;
  }
  
  /* Hide geometric decorations on mobile */
  #license-prices .col-md-3::before {
    display: none;
  }
}

@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }
  
  #license-prices {
    padding: 50px 0;
  }
  
  #license-prices h2 {
    font-size: 1.8rem;
  }
  
  #license-prices .text-center.mb-5 {
    font-size: 0.95rem;
  }
  
  #license-prices .col-md-3 {
    margin-bottom: 20px;
  }
  
  #license-prices .card {
    max-width: 100%;
  }
  
  #license-prices .card-text {
    min-height: auto;
  }
  
  #license-prices h4 {
    font-size: 1.8rem;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .footer-legal a {
    margin: 5px 0;
  }
  
  .logo img {
    width: 100px;
  }
}

@media (max-width: 380px) {
  header {
    padding: 12px 10px;
  }
  
  #license-prices h2 {
    font-size: 1.6rem;
  }
  
  #license-prices .card-title {
    font-size: 1.3rem;
  }
  
  #license-prices .card-img-top {
    width: 60px;
  }
  
  #license-prices .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  
  .footer-about img {
    width: 120px;
  }
}