/* Base Foundation */
:root {
  /* Design Paralelo Brand Colors */
  --bg-dark: #141414;
  --bg-lighter: #0a0a0a;
  --gray-light: #e8e8e8;
  --text-white: #ffffff;
  --text-dim: #a0a0a0;
  --purple: #9900FF;
  --orange: #ff6900;
  --green: #00ff00;
  
  /* Layout Constants */
  --container-width: 1200px;
  --section-padding: 8rem 2rem;
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography Hub */
.headline {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.title-xl { font-size: clamp(3.5rem, 8vw, 6.5rem); }
.title-lg { font-size: clamp(2.5rem, 5vw, 4rem); }
.title-md { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.highlight-purple { color: var(--purple); text-shadow: 0 0 30px rgba(153, 0, 255, 0.3); }
.highlight-orange { color: var(--orange); }
.badge-green { 
  background: rgba(0, 255, 0, 0.1); 
  color: var(--green); 
  border: 1px solid rgba(0, 255, 0, 0.3);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Base Components */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  cursor: pointer;
  gap: 12px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: none;
}

.btn-primary {
  background-color: var(--purple);
  color: white;
  box-shadow: 0 10px 40px rgba(153, 0, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(153, 0, 255, 0.45);
  background-color: #d100ff;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}

.btn-secondary:hover {
  background: var(--orange);
  color: var(--bg-dark);
}

/* Sections */
section {
  padding: var(--section-padding);
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(30px);
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav-links a:hover {
  color: var(--text-white);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background: radial-gradient(circle at 85% 15%, rgba(153, 0, 255, 0.15) 0%, rgba(153, 0, 255, 0) 70%),
              radial-gradient(circle at 15% 85%, rgba(255, 105, 0, 0.12) 0%, rgba(255, 105, 0, 0) 60%);
}

.hero-content {
  max-width: 900px;
}

.hero-tag {
  display: block;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1.5rem;
  letter-spacing: 0.2rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin: 2.5rem 0;
  max-width: 600px;
}

/* Program Cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.card {
  background: var(--bg-lighter);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--purple);
  transform: translateY(-10px);
  background: linear-gradient(145deg, #181818 0%, #141414 100%);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--purple);
}

.card h3 {
  font-weight: 900;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.card p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* Service Section (Light Section) */
.services-section {
  background-color: var(--gray-light);
  color: var(--bg-dark);
}

.services-section .headline {
  color: var(--bg-dark);
}

.services-section p {
  color: #444;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-link:hover .service-item {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 2rem;
  border-bottom-color: var(--purple);
}

.service-name {
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.service-price {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--purple);
  background: rgba(153, 0, 255, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(153, 0, 255, 0.3);
}

/* Tips / Content Section */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tip-card {
  aspect-ratio: 1;
  background: #111;
  border-radius: var(--border-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.tip-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  z-index: -1;
  border-radius: var(--border-radius);
}

.tip-card:hover {
  outline: 2px solid var(--orange);
}

/* Footer */
footer {
  padding: 5rem 5%;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==========================================================================
   BRUTALIST RESPONSIVE ENGINE v3.1
   ========================================================================== */

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2000;
  padding: 8px;
}
.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--text-white);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--purple); }
.mobile-menu .btn { margin-top: 1rem; }

/* Tablet */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .main-dash { margin-left: 0 !important; padding: 4rem 5% !important; }
  .sidebar { display: none !important; }
  .hero-content h1, .title-xl { font-size: 3.5rem; }
  .tips-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content h1, .title-xl { font-size: 2.5rem; }
  .hero-desc { font-size: 1rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .service-item { padding: 1.5rem; }
  .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .file-grid { grid-template-columns: 1fr; }
  main { padding: 4rem 5%; }
  section { padding: 6rem 0; }
  .headline { font-size: 2rem; }
}

/* Smartphone */
@media (max-width: 480px) {
  .logo img { height: 35px !important; }
  nav .btn { padding: 0.5rem 1rem; font-size: 0.65rem; }
  .hero-content h1, .title-xl { font-size: 2rem; }
  .hero-btns { flex-direction: column; gap: 1rem; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .card { padding: 2rem; }
}

/* Glassmorphism Classes */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Accordion FAQ */
details.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  position: relative;
  padding-right: 2rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 2rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

details.faq-item[open] summary::after {
  content: '-';
}

details.faq-item p {
  color: var(--text-dim);
  line-height: 1.7;
  padding-top: 1.5rem;
  margin: 0;
  animation: fadeInDown 0.4s ease forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
