/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  color: #000000;
  overflow-x: hidden;
  transition: opacity 0.18s ease;
}


/* ── NOISE OVERLAY ── */
.noise {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(212,175,55,0.015),
    rgba(212,175,55,0.015) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 999;
}

/* ── NAV ── */
nav {
  background: rgba(255, 255, 255, 0.4); 
  position: fixed;
  top: 24px; 
  left: 50%;
  transform: translateX(-50%); 
  width: 90%;
  max-width: 1200px;
  border-radius: 20px; 
  z-index: 100;
  padding: 12px 32px; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.05);
  
  transition: top 0.3s ease, width 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.scrolled {
  top: 12px;
  width: 95%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 40px -10px rgba(156, 100, 48, 0.08);
  border-color: rgba(212, 175, 55, 0.15);
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #000000;
  letter-spacing: 1.5px;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {  
  color: #111111;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: #9C6430; 
  transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1), left 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover {
  color: #9C6430;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9C6430;
  border: 1px solid rgba(156, 100, 48, 0.4);
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: #9C6430;
  color: #ffffff;
  border-color: #9C6430;
  box-shadow: 0 4px 12px rgba(156, 100, 48, 0.2);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 30px;
  height: 30px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111111;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

nav.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .hamburger span:nth-child(2) { opacity: 0; }
nav.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


@media (max-width: 900px) {
  .hamburger { 
    display: flex; 
    z-index: 110;
  }

  .nav-right {
    gap: 0;
  }

  .nav-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 30px 0;
    
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    display: flex;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }

  nav.nav-open .nav-menu-wrapper {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 32px;
    width: auto;
  }

  nav.nav-open {
    border-radius: 20px 20px 0 0;
    box-shadow: none;
  }
}

/* ── SECTION BASE ── */
section {
  position: relative;
  padding: 130px 8%;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-inner.center {
  text-align: center;
}

/* ── TYPOGRAPHY ── */
.mini-title {
  display: inline-block;
  color: #9C6430; 
  letter-spacing: 4px;
  font-size: 0.68rem;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 18px;
}

h1 {
  margin-top: 10px;
  font-size: 5rem;
  line-height: 0.93;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: -2px;
  color: #000000;
}

h1 span {
  color: #9C6430;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 52px;
  color: #000000;
}

h2 span {
  color: #9C6430;
}

p {
  color: #222222;
  line-height: 1.72;
  font-size: 1rem;
}

/* ── BUTTONS ── */
.buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.btn {
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-block;
}

.pink {
  background: #9C6430;
  color: white;
  box-shadow: 0 4px 15px rgba(156, 100, 48, 0.3);
}

.pink:hover {
  transform: translateY(-3px);
  background: #825326;
  box-shadow: 0 8px 25px rgba(156, 100, 48, 0.45);
}

.dark {
  background: #111117;
  color: #ffffff;
  border: 1px solid #111117;
}

.dark:hover {
  background: #1c1c24;
  border-color: #1c1c24;
}

/* ── HERO ── */
.hero {
  width: 100%;
  min-height: calc(100vh - 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 80px !important;   
  padding-bottom: 40px !important;
  padding-left: 8% !important;
  padding-right: 8% !important;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(#D4AF37 1px, transparent 1px),
    radial-gradient(#9C6430 1px, transparent 1px),
    radial-gradient(#F3E5AB 1px, transparent 1px);
  background-size: 140px 140px, 170px 170px, 190px 190px;
  background-position: 0 0, 40px 80px, 120px 20px;
  opacity: 0.6; 
  z-index: 0;
}

.left {
  width: 52%;
  position: relative;
  z-index: 2;
}

.left p {
  margin-top: 28px;
  max-width: 480px;
}

.left p strong {
  color: #000000; 
  font-weight: 600;
}

/* ── PORTAL ── */
.right {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  isolation: isolate;
}

/* ── BLACK HOLE ── */
.bh-tab {
  width: 700px;
  height: 700px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  scale: 0.4;
  margin-top: -150px;   
  margin-bottom: -150px;
  perspective-origin: center;
  perspective: 1200px;
  transform: translateZ(1000px) rotate(38deg);
  transform-style: preserve-3d;
  position: relative;
  flex-shrink: 0;
}

.bh-credit {
  position: absolute;
  bottom: -24px;
  right: 0;
  font-size: 0.62rem;
  color: #8d8d95; 
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.bh-credit:hover { color: #000000; }

.bh-tab > * {
  transform-style: preserve-3d;
}

.bh-shape {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 100%;
  background: black;
  z-index: 2;
  box-shadow:
    0px 0px 2px 0px rgb(255, 230, 200),
    0px 0px 6px 2px rgba(156, 100, 48, 0.6), 
    0px 0px 2px 0px rgb(255, 230, 200) inset,
    0px 0px 3px 0px rgb(218, 165, 32) inset,
    0px 0px 2px 8px rgb(0, 0, 0),
    0px 0px 220px 10px rgba(156, 100, 48, 0.6), 
    0px 0px 50px 5px white;
}

.bh-ring {
  position: absolute;
  width: 400px;
  height: 350px;
  border-radius: 100%;
  background: radial-gradient(
    circle,
    rgb(255, 255, 255) 3%,
    rgba(255, 250, 200, 0.83) 18%,
    rgba(218, 165, 32, 1) 34%,
    rgba(156, 100, 48, 0.78) 49%, 
    rgba(156, 100, 48, 1) 63%, 
    rgba(139, 101, 8, 0.74) 73%,
    rgba(101, 67, 33, 0.31) 83%,
    rgba(60, 40, 20, 0.14) 97%
  );
  filter: blur(33px);
}

.bh-ring2 {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0) 53%,
    rgb(255, 255, 255) 54%,
    rgba(218, 165, 32, 1) 55%,
    rgba(156, 100, 48, 0.9) 59%, 
    rgba(156, 100, 48, 1) 63%, 
    rgba(139, 101, 8, 0.74) 73%,
    rgba(101, 67, 33, 0.5) 83%,
    rgba(60, 40, 20, 0.14) 97%
  );
  filter: blur(83px);
  transform: rotateX(84deg) translateY(-50px);
}

.bh-ring2gloom {
  position: absolute;
  width: 1200px;
  height: 1200px;
  border-radius: 100%;
  transform: rotateX(84deg) translateY(-50px);
  background: radial-gradient(
    circle,
    rgba(156, 100, 48, 0) 14%, 
    rgba(156, 100, 48, 0.12) 40%, 
    rgba(0, 0, 0, 0) 70%
  ) 100%;
  filter: blur(20px);
}

/* ── ABOUT ── */
.about-section {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 150px 8%;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-text {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid #D4AF37; 
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 25px;
  font-weight: 400;
}

.about-text strong {
  color: #000;
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.3em;
  background-position: 0 88%;
  font-weight: 600;
}

/* Stat */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  position: relative;
  text-align: center;
}

.stat {
  background: #ffffff;
  padding: 40px 20px;
  border-radius: 0; 
  border: 1px solid #eeeeee;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.stat:nth-child(even) {
  margin-top: 40px;
}

.stat:hover {
  transform: translateY(-10px);
  border-color: #D4AF37;
  box-shadow: 0 20px 40px rgba(156, 100, 48, 0.1);
  z-index: 5;
}

.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #000;
  line-height: 1;
  margin-bottom: 15px;
  position: relative;
}

.stat-num::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #D4AF37;
  border-radius: 50%;
  margin: 10px auto 0;
}

.stat-label {
  color: #999;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}

.about-section::before {
  content: "INFO";
  position: absolute;
  top: 50px;
  right: 5%;
  font-family: 'Orbitron', sans-serif;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(0,0,0,0.02); 
  pointer-events: none;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-text {
    padding-left: 25px;
    order: 2;
  }
  
  .about-stats {
    order: 1;
  }
  
  .stat:nth-child(even) {
    margin-top: 0;
  }
}

/* ── STACK ── */
.stack-section {
  border-top: 1px solid rgba(0,0,0,0.06); 
}

.stack-columns-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.stack-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack-column h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #55555e;
  letter-spacing: 2px;
  margin-bottom: 5px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06); 
}

.stack-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  transition: transform 0.2s ease;
  cursor: default;
}

.stack-item:hover {
  transform: translateX(6px);
}

.stack-item:hover span {
  color: #9C6430; 
}

.stack-badge {
  width: 38px; 
  height: 38px;
  border-radius: 10px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #9C6430;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.stack-item span {
  font-size: 0.92rem;
  font-weight: 500;
  color: #222222;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

@media (max-width: 900px) {
  .stack-columns-container {
    grid-template-columns: 1fr; 
    gap: 32px;
  }
}

/* ── WORK ── */
.work-section {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.work-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.work-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 40px rgba(156, 100, 48, 0.08);
}

.work-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.work-card:hover::before {
  transform: translateX(100%);
}

.work-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: #9C6430;
  text-transform: uppercase;
  font-weight: 700;
}

.work-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.work-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.work-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.work-tech span {
  background: #f8f8f8;
  border: 1px solid #eeeeee;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  color: #777;
  font-weight: 600;
}

.work-link {
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.work-link:hover {
  color: #000;
}

.work-link-soon {
  color: #bbb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-link-soon::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ddd;
  border-radius: 50%;
}

/* ── SERVICES ── */
.services-section {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.srv-intro {
  max-width: 620px;
  margin-bottom: 56px;
  font-size: 1rem;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
  align-items: start;
}

.srv-card {
  background: #ffffff; 
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.srv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 15px 35px rgba(212,175,55,0.1);
}

.srv-card.srv-featured {
  border-color: rgba(212,175,55,0.3);
  background: #fffdf6; 
}

.srv-plan-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  width: fit-content;
}

.srv-plan-tag.free    { background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.25); color: #00b358; }
.srv-plan-tag.custom  { background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.4);  color: #9C6430; }
.srv-plan-tag.hosting { background: rgba(0,180,216,0.08); border: 1px solid rgba(0,180,216,0.25); color: #0077b6; }

.srv-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000000; 
  letter-spacing: -0.3px;
}

.srv-sub {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #444444; 
  margin: 0;
}

.srv-price-label {
  font-size: 0.9rem;
  color: #222222; 
  line-height: 1.6;
  margin: 0;
}

.srv-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.srv-features li {
  font-size: 0.85rem;
  color: #444444; 
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.srv-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #9C6430;
  font-weight: 700;
  font-size: 0.75rem;
}

.srv-note {
  font-size: 0.78rem;
  color: #66666e; 
  line-height: 1.6;
  font-style: italic;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 14px;
  margin-top: 4px;
}

.srv-bonus {
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #9C6430; 
  line-height: 1.6;
}

.srv-tiers {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.srv-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.srv-tier span:nth-child(2) { color: #444444; flex: 1; }

.tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tier-dot.green  { background: #00e676; box-shadow: 0 0 6px rgba(0,230,118,0.4); }
.tier-dot.yellow { background: #ffd740; box-shadow: 0 0 6px rgba(255,215,64,0.4); }
.tier-dot.red    { background: #ff5252; box-shadow: 0 0 6px rgba(255,82,82,0.4); }

.tier-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #000000; 
  letter-spacing: 0.5px;
}

.srv-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
  text-align: center;
}

.srv-payment-title {
  font-size: 0.68rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 3px;
  color: #55555e;
  text-transform: uppercase;
}

.srv-methods {
  display: flex;
  gap: 12px;
}

.srv-methods span {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 8px 22px;
  font-size: 0.82rem;
  color: #33333a;
  font-weight: 600;
}

.srv-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.srv-cta p {
  max-width: 500px;
  font-size: 1rem;
}

/* ── CONTACT ── */
.contact-section {
  border-top: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-section .section-inner p {
  max-width: 460px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid #eeeeee;
  width: 100vw;            
  position: relative;
  left: 50%;
  transform: translateX(-50%); 
  display: flex;
  justify-content: center;  
  align-items: center;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  text-align: center;      
  padding: 0 5%;
}

.footer-container p {
  font-size: 0.85rem;
  color: #888888;
  margin: 0 auto;        
  display: inline-block;    
}

/* ── COURSES ── */
.courses-section {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.course-card {
  background: #ffffff; 
  border: 1px solid rgba(0, 0, 0, 0.06); 
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.course-card:hover {
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 8px 20px rgba(212,175,55,0.1);
}

.course-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.course-provider {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.course-provider.harvard {
  background: rgba(165,28,48,0.1);
  color: #a51c30;
  border: 1px solid rgba(165,28,48,0.2);
}

.course-provider.fcc {
  background: rgba(0,100,50,0.08);
  color: #006432;
  border: 1px solid rgba(0,100,50,0.15);
}

.course-provider.paid {
  background: rgba(255,180,0,0.08);
  color: #b37d00;
  border: 1px solid rgba(255,180,0,0.2);
}

.course-provider.unam {
  background: rgba(59,130,246,0.1);
  color: #1d4ed8;
  border: 1px solid rgba(59,130,246,0.25);
}

.course-status {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.course-status.done {
  background: rgba(212,175,55,0.1);
  color: #9C6430;
  border: 1px solid rgba(212,175,55,0.3);
}

.course-status.wip {
  background: rgba(255,180,0,0.06);
  color: #b37d00;
  border: 1px solid rgba(255,180,0,0.15);
}

.course-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #000000; 
  margin: 0;
}

.course-card p {
  font-size: 0.82rem;
  color: #444444; 
  line-height: 1.5;
  flex: 1;
}

.course-link {
  font-size: 0.78rem;
  color: #9C6430; 
  text-decoration: none;
  transition: color 0.2s;
  margin-top: 4px;
  align-self: flex-start;
}

.course-link:hover {
  color: #D4AF37;
}

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  h1    { font-size: 4rem; }
  h2    { font-size: 2.8rem; }
  .stack-grid { grid-template-columns: repeat(4, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 64px;
    padding-top: 110px;
    min-height: 100svh;
  }

  .left, .right { width: 100%; }

  .left p { margin: 28px auto 0; }

  .buttons { justify-content: center; }

  h1 { font-size: 3.4rem; }

  .bh-tab { scale: 0.32; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .stack-grid { grid-template-columns: repeat(3, 1fr); }

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

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

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

@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-right { gap: 14px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,0.98); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 5%;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav.nav-open .nav-links {
    max-height: 340px;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 15px 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  nav { padding: 18px 5%; }

  section { padding: 100px 5%; }

  .hero { padding-left: 5%; padding-right: 5%; }

  h1 { font-size: 2.8rem; letter-spacing: -1px; }
  h2 { font-size: 2.2rem; letter-spacing: -0.5px; }

  .stack-grid { grid-template-columns: repeat(2, 1fr); }

  .about-stats { flex-direction: column; gap: 28px; }

  footer { flex-direction: column; gap: 16px; text-align: center; }
  .footer-right-wrap { align-items: center; }
  .footer-mid { order: -1; }
}


.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity; /* Optimiza el uso de la GPU para evitar tirones */
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.stack-card:nth-child(2) { transition-delay: 0.05s; }
.stack-card:nth-child(3) { transition-delay: 0.1s; }
.stack-card:nth-child(4) { transition-delay: 0.15s; }
.stack-card:nth-child(5) { transition-delay: 0.2s; }
.stack-card:nth-child(6) { transition-delay: 0.25s; }
.stack-card:nth-child(7) { transition-delay: 0.3s; }

.work-card:nth-child(2) { transition-delay: 0.08s; }
.work-card:nth-child(3) { transition-delay: 0.16s; }
.work-card:nth-child(4) { transition-delay: 0.24s; }

#text-rotator {
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}

#text-rotator.fade-text {
  opacity: 0;
  transform: translateY(-5px); 
}

/* ── LED SCROLLING ── */

.mini-title {
  overflow: hidden; 
  white-space: nowrap; 
  display: flex;
  width: 100%;
  max-width: 400px; 
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.led-track {
  display: inline-block;
  padding-left: 0;
  animation: led-scroll 15s linear infinite; 
}

.led-track span {
  display: inline-block;
  font-family: 'Orbitron', sans-serif; 
  letter-spacing: 2px;
  padding-right: 10px; 
}

@keyframes led-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); 
  }
}

.mini-title:hover .led-track {
  animation-play-state: paused;
}

.web-discord-presence {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  
  border: 1px solid #9C6430; 
  border-radius: 12px;
  
  padding: 8px 12px; 
  max-width: 380px;
  
  margin-top: 16px;
  margin-left: 0;
  margin-right: auto;
  
  box-shadow: 0 8px 32px -12px rgba(156, 100, 48, 0.12);
  font-family: 'Inter', sans-serif;
}

.wd-presence-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wd-icon-container {
  position: relative;
  width: 46px;
  height: 46px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#wd-app-icon {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 6px;
}

.wd-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ffffff; 
  background: #747f8d;
  transition: background 0.3s ease;
}

.wd-status-dot.online  { background: #23a55a; }
.wd-status-dot.idle    { background: #f0b232; }
.wd-status-dot.dnd     { background: #f23f43; }
.wd-status-dot.offline { background: #747f8d; }

.wd-details-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.wd-header-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.wd-label-status {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #9C6430;
  letter-spacing: 0.5px;
  margin: 0 !important;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
}

.wd-app-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111111;
  margin: 0 !important;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
}


.wd-body-row {
  display: flex;
}

.wd-app-details {
  font-size: 0.78rem;
  color: #555555;
  margin: 0 !important;
  padding: 0;
  line-height: 1.2;
}

