/* ==========================================================================
   NEPTUNO SOFTWARE & GAMES - STYLES
   Simple, clean, modern, responsive developer landing page
   ========================================================================== */

:root {
  --bg-main: #0b0f19;
  --bg-surface: #121826;
  --bg-card: #182234;
  --bg-card-subtle: rgba(255, 255, 255, 0.03);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 210, 255, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00d2ff;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

code {
  font-family: monospace;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-highlight);
  object-fit: contain;
}

.brand-text {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text span {
  color: var(--accent-cyan);
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.btn-play-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--border-highlight);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-play-header:hover {
  background: var(--accent-cyan);
  color: #0b0f19;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--border-color);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-highlight {
  background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00d2ff;
  color: #0b0f19;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #38bdf8;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-phone-wrap {
  width: 100%;
  max-width: 290px;
  border-radius: 28px;
  padding: 8px;
  background: #182234;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.15);
}

.hero-phone-img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* --- Section Global --- */
.section {
  padding: 70px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* --- Mis Pesos Detailed Section --- */
.app-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-detail-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.app-detail-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--border-highlight);
  object-fit: contain;
}

.app-detail-titles h2 {
  font-size: 1.8rem;
  font-weight: 800;
}

.app-detail-titles p {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 600;
}

.app-detail-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.tool-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.tool-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.legal-notice {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-cyan);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.legal-notice strong {
  color: var(--text-muted);
}

.playstore-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.playstore-cta a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.playstore-cta a:hover {
  transform: scale(1.03);
}

.playstore-cta img {
  height: 50px;
  width: auto;
}

.store-verified {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Real Screenshots Gallery --- */
.gallery-section {
  background: rgba(18, 24, 38, 0.4);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 20px;
  justify-items: center;
}

.screenshot-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.screenshot-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #090e18;
  margin-bottom: 10px;
}

.screenshot-img {
  width: 100%;
  aspect-ratio: 576 / 1280;
  object-fit: cover;
  display: block;
}

.screenshot-caption {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

/* --- Future Projects Notice --- */
.future-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.future-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.future-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- About & Contact --- */
.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.info-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.info-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-contact-primary {
  background: #00d2ff;
  color: #0b0f19;
}

.btn-contact-primary:hover {
  background: #38bdf8;
}

.btn-contact-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-contact-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
.site-footer {
  background: #070a12;
  border-top: 1px solid var(--border-color);
  padding: 36px 0 24px;
  width: 100%;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.footer-nav a {
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* Toast */
.toast-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #182234;
  border: 1px solid var(--accent-cyan);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 200;
}

.toast-box.active {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #0b0f19;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .app-detail-card {
    padding: 24px 18px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
    gap: 10px 16px;
    padding: 0;
    margin: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 8px;
  }

  .footer-bottom span {
    display: block;
    width: 100%;
    text-align: center;
  }
}
