/* ===========================================================
   Shit Express Paraguay — base styles
   =========================================================== */

* { box-sizing: border-box; }

:root {
  --bg: #050506;
  --bg-alt: #0c0d10;
  --panel: #101114;
  --red: #e5202a;
  --red-dark: #8f0f18;
  --blue: #1c3f9c;
  --blue-light: #3860c9;
  --chrome-1: #ffffff;
  --chrome-2: #cfd2d6;
  --chrome-3: #7d8188;
  --text-dim: #9aa0aa;
  --border: rgba(255,255,255,0.08);
  --radius: 14px;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--chrome-1);
  font-family: 'Roboto Mono', monospace;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

/* Subtle grain so big flat black areas don't look dead.
   No mix-blend-mode: it forces the browser to re-composite this
   full-viewport layer against everything animating beneath it on
   every frame, which is a well-known main-thread cost trap. */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: radial-gradient(rgba(255,255,255,0.9) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,6,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ---- logo lockup (CSS recreation of the brand mark) ---- */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.logo-word {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  line-height: 1;
}
.logo-word-shit { color: var(--red); }
.logo-word-express {
  background: linear-gradient(180deg, var(--chrome-1), var(--chrome-3) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-word-py {
  width: 100%;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue-light);
  margin-top: 1px;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-list a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--chrome-2);
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}
.nav-list a:hover { color: var(--chrome-1); }
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-list a:hover::after { width: 100%; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--chrome-1);
  font-size: 24px;
  cursor: pointer;
}

/* ---- language switch (native popup <select>, emoji flags) ---- */
.nav-lang { display: flex; align-items: center; }

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 30px 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M1 1l4 4 4-4" fill="none" stroke="%239aa0aa" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 12px center;
  color: var(--chrome-1);
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lang-select:hover { border-color: var(--chrome-3); }
.lang-select:focus { outline: none; border-color: var(--chrome-2); }
.lang-select option {
  background: var(--bg-alt);
  color: var(--chrome-1);
}

/* ===========================================================
   HERO
   =========================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px 70px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(28,63,156,0.28), transparent 55%),
    radial-gradient(ellipse at 85% 110%, rgba(229,32,42,0.22), transparent 55%),
    var(--bg);
  overflow: hidden;
}

.hero-speedlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-speedlines span {
  position: absolute;
  height: 2px;
  width: 40%;
  left: -50%;
  background: linear-gradient(90deg, transparent, rgba(229,32,42,0.55), transparent);
  animation: speedsweep 5.5s linear infinite;
  opacity: 0;
}
.hero-speedlines span:nth-child(1) { top: 18%; animation-delay: 0s; }
.hero-speedlines span:nth-child(2) { top: 34%; animation-delay: 1.1s; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); }
.hero-speedlines span:nth-child(3) { top: 52%; animation-delay: 2.2s; }
.hero-speedlines span:nth-child(4) { top: 68%; animation-delay: 3.3s; background: linear-gradient(90deg, transparent, rgba(28,63,156,0.55), transparent); }
.hero-speedlines span:nth-child(5) { top: 82%; animation-delay: 4.4s; }

@keyframes speedsweep {
  0%   { transform: translateX(0);     opacity: 0; }
  8%   { opacity: 1; }
  45%  { opacity: 1; }
  60%  { transform: translateX(230%);  opacity: 0; }
  100% { transform: translateX(230%);  opacity: 0; }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--chrome-2);
  margin-bottom: 28px;
  opacity: 0;
  animation: riseIn 0.7s ease forwards;
}

.hero-title {
  margin: 0 0 12px;
}

.hero-logo-img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  animation: riseIn 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: 0.12s;
}

.hero-subtitle {
  max-width: 560px;
  font-family: 'Roboto Mono', monospace;
  font-size: 17px;
  line-height: 1.55;
  color: var(--chrome-2);
  margin: 0 0 10px;
  opacity: 0;
  animation: riseIn 0.8s ease forwards;
  animation-delay: 0.42s;
}

.hero-note {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 34px;
  opacity: 0;
  animation: riseIn 0.8s ease forwards;
  animation-delay: 0.52s;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  opacity: 0;
  animation: riseIn 0.8s ease forwards;
  animation-delay: 0.62s;
}

.hero-cta,
.hero-cta2 {
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.hero-cta {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px rgba(229,32,42,0.35);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(229,32,42,0.5); }

.hero-cta2 {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--chrome-1);
}
.hero-cta2:hover { border-color: var(--chrome-2); transform: translateY(-2px); }

.hero-strip {
  display: flex;
  width: 140px;
  height: 5px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
  opacity: 0;
  animation: riseIn 0.8s ease forwards;
  animation-delay: 0.72s;
}
.strip-red   { flex: 1; background: var(--red); }
.strip-white { flex: 1; background: #fff; }
.strip-blue  { flex: 1; background: var(--blue); }

.hero-soon {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0;
  animation: riseIn 0.8s ease forwards;
  animation-delay: 0.82s;
}

.soon-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* Pulsing ring via transform+opacity (GPU-composited) instead of an
   animated box-shadow (which forces a full repaint every frame). */
.soon-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(3.4); opacity: 0; }
  100% { transform: scale(3.4); opacity: 0; }
}

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 46px 24px 30px;
}

.footer-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: 'Orbitron', sans-serif;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.footer-logo-text {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--chrome-2);
}
.footer-logo-text em {
  font-style: normal;
  color: var(--blue-light);
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 26px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer-bottom a:hover { color: var(--chrome-1); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 860px) {
  .mobile-menu-toggle { display: block; }

  .nav-center {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5,5,6,0.98);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-center.open { max-height: 320px; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 28px 6px;
  }
  .nav-list li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }

  .nav-lang { margin: 16px 28px 20px; align-self: flex-start; }

  .logo-word-py { font-size: 8px; }
}

@media (max-width: 480px) {
  .header-container { padding: 12px 18px; }
  .hero-section { padding: 70px 18px 50px; }
}
