:root {
  --bg-color: #050505;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-proton: #6d4aff; /* A distinct purple/indigo for Proton */
  --accent-proton-hover: #5b3ce6;
  
  --border-color: #262626;
  --border-radius: 12px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --site-max-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Helper utility for visual spacing */
.section-padding {
  padding: 6rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
}

.btn-proton {
  background-color: var(--accent-proton);
  color: white;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.4);
}

.btn-proton:hover {
  background-color: var(--accent-proton-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 74, 255, 0.6);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent-blue);
}

/* Simple Navigation */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

nav a:hover {
  color: var(--text-primary);
}

/* Hamburger menu (mobile only) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 12rem;
  padding-bottom: 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
}

.hero.glassmorphic-glow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  opacity: 0.3;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.hero-claim {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-blue);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

/* Comparador Section */
.comparador {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.vpn-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vpn-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-blue);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 10;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.vpn-name {
  font-size: 2rem;
}

.vpn-price {
  text-align: right;
}

.vpn-price .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.vpn-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-features {
  list-style: none;
  margin: 2rem 0;
  flex-grow: 1;
}

.card-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.card-features li::before {
  content: "✓";
  color: var(--accent-blue);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
}

.vpn-card .btn {
  width: 100%;
}

/* Proton Section */
.proton-section {
  position: relative;
  background-color: #0b0b0b;
  overflow: hidden;
}

.proton-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(109, 74, 255, 0.05) 0%, rgba(0,0,0,0) 60%);
  z-index: 0;
}

.proton-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  background-color: rgba(17, 17, 17, 0.5);
  border: 1px solid rgba(109, 74, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.proton-content {
  flex: 1;
}

.proton-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.proton-content .feature-subtext {
  margin-bottom: 2rem;
}

.proton-elements {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.proton-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.proton-item strong {
  display: block;
  color: white;
  margin-bottom: 0.25rem;
}

.proton-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.proton-action {
  text-align: right;
  min-width: 250px;
}

.proton-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.proton-free {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 1.5rem;
}

.proton-free svg {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 1rem;
}

/* Final CTA */
.final-cta {
  background-color: var(--bg-card);
  text-align: center;
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
}

.final-cta .hero-buttons {
  margin-top: 0;
}

/* Footer */
footer {
  background-color: #000;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.affiliate-disclaimer {
  max-width: 600px;
  line-height: 1.5;
}

/* Pages Layout (Legal) */
.page-header {
  padding: 10rem 0 4rem;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-content {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  margin: 2.5rem 0 1rem;
  color: white;
}

.page-content h3 {
  margin: 1.5rem 0 0.5rem;
  color: white;
  font-size: 1.2rem;
}

.page-content p, .page-content ul {
  margin-bottom: 1.25rem;
}

.page-content ul {
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.page-content a {
  color: var(--accent-blue);
}

.page-content a:hover {
  text-decoration: underline;
}

.contact-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-email {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 1.5rem 0;
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .proton-container {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }
  
  .proton-elements {
    flex-direction: column;
  }
  
  .proton-action {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .proton-free {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  nav.active {
    display: flex;
  }
  
  nav a {
    padding: 1rem 2rem;
    width: 100%;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}
