/* BūstoPasas secure PHP MVP website */

:root {
  --navy-950: #030b1d;
  --navy-900: #06142f;
  --navy-800: #071a3a;
  --navy-700: #0b2d63;
  --blue: #48aaff;
  --blue-soft: #dff3ff;
  --green: #2fbf71;
  --red: #d93838;
  --yellow: #f5c542;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #eef4f8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --radius-lg: 28px;
  --shadow-soft: 0 24px 70px rgba(3, 11, 29, 0.16);
  --shadow-dark: 0 32px 90px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
.section { padding: clamp(64px, 8vw, 112px) 0; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 1180px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 999px;
  background: rgba(3, 11, 29, 0.74);
  color: var(--white);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(72,170,255,0.95), rgba(255,255,255,0.15)), var(--navy-800);
  border: 1px solid rgba(255,255,255,0.22);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 18px; letter-spacing: -0.03em; }
.brand-text small { font-size: 11px; color: rgba(255,255,255,0.72); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,0.84);
  font-size: 14px;
}
.site-nav a:hover { background: rgba(255,255,255,0.10); color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(72,170,255,0.25), transparent 32%),
    radial-gradient(circle at 84% 74%, rgba(47,191,113,0.13), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800) 52%, var(--navy-700));
  color: var(--white);
  padding-top: 116px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--green), var(--red));
}
.hero h1,
.section-heading h2,
.archive-info h2,
.contact-card h2,
.results-header h2,
.message-card h1 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.05;
}
.hero h1 { max-width: 720px; font-size: clamp(34px, 5vw, 62px); }
.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(16px, 1.7vw, 19px);
}
.hero-actions, .form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--blue), #2478ff);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(36,120,255,0.30);
}
.btn.secondary {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border-color: rgba(255,255,255,0.20);
}
.btn.ghost { background: var(--slate-100); color: var(--slate-900); }
.btn.full { width: 100%; }

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.trust-row span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}
.visual-shell {
  position: relative;
  padding: clamp(10px, 1.7vw, 20px);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.34), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(16px);
}
.visual-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(72,170,255,0.75), rgba(255,255,255,0.12), rgba(47,191,113,0.22));
  filter: blur(18px);
  opacity: 0.62;
}
.visual-shell img {
  display: block;
  border-radius: 24px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}


.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}
.section-heading h2, .archive-info h2, .contact-card h2, .message-card h1 {
  font-size: clamp(28px, 3.6vw, 44px);
}
.intro-copy p, .archive-info p, .contact-card p, .message-card p {
  margin: 0 0 16px;
  color: var(--slate-700);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.feature-card, .step-card, .archive-panel, .archive-note, .contact-card, .message-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.feature-card { padding: 28px; }
.feature-card .icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--blue-soft);
  font-size: 24px;
}
.feature-card h3, .step-card h3, .benefit-list h3 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.feature-card p, .step-card p, .benefit-list p, .archive-note span, .small-text, .form-message, .results-header p {
  margin: 0;
  color: var(--slate-500);
}

.dark-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(72,170,255,0.19), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.center { text-align: center; max-width: 760px; margin-inline: auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.step-card {
  padding: 26px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
  color: var(--white);
  backdrop-filter: blur(14px);
}
.step-card p { color: rgba(255,255,255,0.70); }
.step-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.archive-section { background: linear-gradient(180deg, var(--slate-50), #eef5fb); }
.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.64fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.archive-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 18px;
  background: #f7fbff;
}
.archive-note strong { color: var(--slate-900); }
.archive-note b { color: var(--navy-700); }
.archive-panel { padding: clamp(22px, 4vw, 34px); }
.archive-form, .contact-form { display: grid; gap: 16px; }
label {
  display: grid;
  gap: 8px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
}
input, textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.13);
  border-radius: 16px;
  background: var(--slate-50);
  color: var(--slate-900);
  padding: 14px 15px;
  outline: none;
}
input:focus, textarea:focus {
  border-color: rgba(72,170,255,0.85);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(72,170,255,0.12);
}
.form-actions { margin-top: 4px; }
.form-message { min-height: 24px; font-size: 14px; }
.form-message.success { color: var(--green); }
.form-message.error { color: var(--red); }
.website-field { display: none; }

.archive-results {
  margin-top: 42px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
}
.results-header h2 { font-size: clamp(26px, 3.2vw, 38px); }
.file-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.file-group {
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: var(--slate-50);
}
.file-group h3 { margin: 0 0 14px; }
.file-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.file-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy-700);
  font-weight: 800;
  word-break: break-word;
}
.file-link small { color: var(--slate-500); font-weight: 700; }
.empty-state {
  padding: 20px;
  border-radius: 20px;
  background: var(--slate-50);
  color: var(--slate-700);
}

.portfolio-section { background: var(--white); }
.benefit-list { display: grid; gap: 18px; }
.benefit-list > div {
  padding: 22px;
  border-left: 4px solid var(--blue);
  border-radius: 18px;
  background: var(--slate-50);
}

.contact-section {
  background:
    radial-gradient(circle at 80% 30%, rgba(72,170,255,0.16), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  padding: clamp(24px, 5vw, 54px);
}
.contact-card h2 { color: var(--slate-900); }
.small-text { font-size: 13px; }

.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.72);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--white); font-weight: 800; }

.message-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 18% 18%, rgba(72,170,255,0.25), transparent 32%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.message-card {
  width: min(100%, 680px);
  padding: clamp(24px, 5vw, 48px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.26s; }

@media (max-width: 980px) {
  .hero-grid, .two-col, .archive-layout, .contact-card { grid-template-columns: 1fr; }
  .feature-grid, .steps, .file-groups { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    border-radius: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .brand-text small { display: none; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .site-nav {
    display: none;
    width: 100%;
    padding-top: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; background: rgba(255,255,255,0.07); }
  .hero { padding-top: 112px; }
  .hero-actions, .trust-row { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .feature-grid, .steps, .file-groups { grid-template-columns: 1fr; }
  .results-header, .footer-inner { flex-direction: column; }
  .visual-shell { border-radius: 22px; padding: 10px; }
  .visual-shell img { border-radius: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}




