/* ==========================================================================
       HARDATA BRIEF - DEEP NAVY EDITION (ULTRA PREMIUM BENTO)
       ================================================================---------- */
    :root {
      --hb-bg: #030712;
      --hb-navy-deep: #070e1e;
      --hb-surface: #0b1329;
      --hb-surface-glow: #101935;
      --hb-surface-card: #132043;
      --hb-primary: #38bdf8;
      --hb-primary-bright: #0284c7;
      --hb-cyan: #00f0ff;
      --hb-text: #f8fafc;
      --hb-muted: #94a3b8;
      --hb-border: rgba(56, 189, 248, 0.15);
      --hb-border-hover: rgba(56, 189, 248, 0.4);
    }

    body {
      background-color: var(--hb-bg);
      color: var(--hb-text);
      font-family: 'Plus Jakarta Sans', sans-serif;
      overflow-x: hidden;
    }

    .logo img {
      height: 38px;
      width: auto;
      object-fit: contain;
    }

    /* --- ANIMACIONES DE APARICIÓN Y ATMÓSFERA NAVY --- */
    .reveal-on-scroll {
      opacity: 0;
      transform: translateY(25px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal-on-scroll.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    @keyframes floatSlow {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-6px); }
    }

    @keyframes navyPulse {
      0%, 100% { border-color: rgba(56, 189, 248, 0.15); box-shadow: 0 25px 50px rgba(3, 7, 18, 0.8); }
      50% { border-color: rgba(56, 189, 248, 0.4); box-shadow: 0 25px 60px rgba(14, 165, 233, 0.12); }
    }

    @keyframes lineScan {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }

    /* --- HERO ATMOSFÉRICO EN GAMA NAVY --- */
    .pulse-hero {
      position: relative;
      padding: 9rem 0 6rem 0;
      background: linear-gradient(rgba(3, 7, 18, 0.85), rgba(3, 7, 18, 0.92)), url('../img/fongo_good.png');
      background-size: cover;
      background-position: center;
      border-bottom: 1px solid rgba(56, 189, 248, 0.08);
      overflow: hidden;
    }

    .pulse-hero::before {
      content: '';
      position: absolute;
      width: 100%; height: 100%;
      top: 0; left: 0;
      background-image: radial-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px);
      background-size: 36px 36px;
      opacity: 0.5;
      pointer-events: none;
    }

    .pulse-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      position: relative;
      z-index: 2;
    }

    .pulse-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(11, 19, 41, 0.8);
      border: 1px solid var(--hb-border);
      padding: 8px 16px;
      border-radius: 30px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.75rem;
      color: var(--hb-primary);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 2rem;
      box-shadow: 0 4px 20px rgba(3, 7, 18, 0.5);
      animation: floatSlow 4s ease-in-out infinite;
    }

    .pulse-badge .live-dot {
      width: 8px;
      height: 8px;
      background: var(--hb-cyan);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--hb-cyan);
      animation: pulseAnim 2s infinite;
    }

    @keyframes pulseAnim {
      0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
      70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
      100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
    }

    /* Bento Layout Principal con Bloques Navy */
    .bento-hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 2rem;
      align-items: stretch;
    }

    .bento-main-box {
      background: linear-gradient(145deg, rgba(11, 19, 41, 0.9) 0%, rgba(7, 14, 30, 0.95) 100%);
      border: 1px solid var(--hb-border);
      border-radius: 24px;
      padding: 3rem;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 30px 60px rgba(3, 7, 18, 0.8);
      backdrop-filter: blur(10px);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    }

    .bento-main-box:hover {
      border-color: var(--hb-border-hover);
      transform: translateY(-4px);
    }

    .bento-main-box::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent, var(--hb-cyan), var(--hb-primary), transparent);
      background-size: 200% 100%;
      animation: lineScan 5s linear infinite;
    }

    .bento-main-box h1 {
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      line-height: 1.1;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 1.5rem;
      color: #fff;
    }

    .bento-main-box h1 span {
      background: linear-gradient(135deg, #38bdf8 0%, #00f0ff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .bento-main-box p {
      font-size: 1.05rem;
      line-height: 1.6;
      color: var(--hb-muted);
      margin-bottom: 2.5rem;
    }

    /* Formularios Hook con Estética Navy Profunda */
    .hook-form-wrapper {
      background: rgba(3, 7, 18, 0.7);
      border: 1px solid rgba(56, 189, 248, 0.15);
      padding: 8px;
      border-radius: 14px;
      display: flex;
      gap: 10px;
      backdrop-filter: blur(12px);
      transition: all 0.3s ease;
    }

    .hook-form-wrapper:focus-within {
      border-color: var(--hb-cyan);
      box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
    }

    .hook-form-wrapper input {
      flex: 1;
      background: transparent;
      border: none;
      padding: 14px 18px;
      color: #fff;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.95rem;
      outline: none;
    }

    .hook-form-wrapper input::placeholder {
      color: rgba(148, 163, 184, 0.6);
    }

    .hook-form-wrapper button {
      background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
      color: #fff;
      font-weight: 800;
      padding: 14px 28px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-family: 'Plus Jakarta Sans', sans-serif;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
      box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
      position: relative;
      overflow: hidden;
    }

    .hook-form-wrapper button:hover {
      background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
      transform: translateY(-2px);
      box-shadow: 0 0 35px rgba(56, 189, 248, 0.5);
    }

    .hook-subnotes {
      display: flex;
      gap: 20px;
      margin-top: 1rem;
      font-size: 0.78rem;
      color: var(--hb-muted);
      font-family: 'JetBrains Mono', monospace;
    }

    /* Tarjeta Secundaria Bento (Navy Edition Destacada) */
    .bento-side-card {
      background: linear-gradient(145deg, rgba(16, 25, 53, 0.9) 0%, rgba(19, 32, 67, 0.9) 100%), url('../img/logo2.png');
      background-blend-mode: overlay;
      background-size: 180px;
      background-repeat: no-repeat;
      background-position: right bottom;
      border: 1px solid var(--hb-border);
      border-radius: 24px;
      padding: 2.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      box-shadow: 0 30px 60px rgba(3, 7, 18, 0.8);
      animation: navyPulse 6s ease-in-out infinite;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      backdrop-filter: blur(10px);
    }

    .bento-side-card:hover {
      transform: translateY(-4px);
      border-color: var(--hb-cyan);
    }

    .side-card-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .side-chip {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.75rem;
      background: rgba(56, 189, 248, 0.1);
      color: var(--hb-primary);
      padding: 5px 12px;
      border-radius: 6px;
      border: 1px solid rgba(56, 189, 248, 0.25);
    }

    .side-card-title {
      font-size: 1.4rem;
      font-weight: 700;
      line-height: 1.35;
      color: #fff;
      margin-bottom: 1rem;
    }

    .side-card-excerpt {
      font-size: 0.92rem;
      color: var(--hb-muted);
      line-height: 1.6;
      margin-bottom: 2rem;
    }

    .side-card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid rgba(56, 189, 248, 0.1);
      padding-top: 1.2rem;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.8rem;
    }

    /* --- STRIP DE VALOR / SOCIAL PROOF NAVY --- */
    .proof-strip {
      background: #02050e;
      border-bottom: 1px solid rgba(56, 189, 248, 0.06);
      padding: 2.5rem 0;
    }

    .proof-grid {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .proof-item {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      background: var(--hb-surface);
      border: 1px solid rgba(56, 189, 248, 0.08);
      padding: 1.5rem;
      border-radius: 16px;
      transition: all 0.3s ease;
    }

    .proof-item:hover {
      border-color: rgba(56, 189, 248, 0.3);
      transform: translateY(-3px);
      box-shadow: 0 12px 30px rgba(3, 7, 18, 0.6);
    }

    .proof-icon {
      font-size: 1.8rem;
      background: rgba(14, 165, 233, 0.1);
      width: 50px; height: 50px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 12px;
      border: 1px solid rgba(56, 189, 248, 0.2);
      transition: transform 0.3s ease;
    }

    .proof-item:hover .proof-icon {
      transform: scale(1.1) rotate(5deg);
    }

    .proof-info h4 {
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.2rem;
    }

    .proof-info p {
      font-size: 0.85rem;
      color: var(--hb-muted);
    }

    /* --- ARCHIVO DE EDICIONES --- */
    .archive-section {
      padding: 7rem 0;
      max-width: 1200px;
      margin: 0 auto;
      padding-left: 2rem;
      padding-right: 2rem;
    }

    .archive-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 3.5rem;
    }

    .archive-header h2 {
      font-size: 2.4rem;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .archive-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
      gap: 2rem;
    }

    .archive-card {
      background: var(--hb-surface);
      border: 1px solid rgba(56, 189, 248, 0.08);
      border-radius: 20px;
      padding: 2.2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
    }

    .archive-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; width: 4px; height: 0;
      background: var(--hb-cyan);
      transition: height 0.3s ease;
    }

    .archive-card:hover::before {
      height: 100%;
    }

    .archive-card:hover {
      transform: translateY(-6px);
      border-color: var(--hb-border-hover);
      background: linear-gradient(135deg, var(--hb-surface) 0%, var(--hb-surface-glow) 100%);
      box-shadow: 0 20px 40px rgba(3, 7, 18, 0.7);
    }

    .archive-meta {
      display: flex;
      justify-content: space-between;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.75rem;
      color: var(--hb-primary);
      margin-bottom: 1.2rem;
    }

    .archive-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 1rem;
      color: #fff;
    }

    .archive-card p {
      font-size: 0.92rem;
      color: var(--hb-muted);
      line-height: 1.6;
      margin-bottom: 2rem;
    }

    .archive-link {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--hb-primary);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: gap 0.2s ease;
    }

    .archive-card:hover .archive-link {
      gap: 12px;
      color: var(--hb-cyan);
    }

    /* --- FINAL HOOK CTA SECTION --- */
    .final-hook-section {
      padding: 6rem 0 8rem 0;
      background: linear-gradient(180deg, var(--hb-bg) 0%, #010308 100%);
      border-top: 1px solid rgba(56, 189, 248, 0.06);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .final-hook-box {
      max-width: 800px;
      margin: 0 auto;
      padding: 4rem 3rem;
      background: linear-gradient(135deg, rgba(11, 19, 41, 0.75) 0%, rgba(5, 11, 26, 0.85) 100%), url('../img/fondo4.png');
      background-size: cover;
      background-position: center;
      border: 1px solid var(--hb-border);
      border-radius: 28px;
      box-shadow: 0 30px 60px rgba(3, 7, 18, 0.8);
      position: relative;
      overflow: hidden;
      transition: border-color 0.4s ease;
    }

    .final-hook-box:hover {
      border-color: var(--hb-border-hover);
    }

    .final-hook-box::before {
      content: '';
      position: absolute;
      top: -50%; left: -50%; width: 200%; height: 200%;
      background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
      pointer-events: none;
      animation: floatSlow 6s ease-in-out infinite;
    }

    .final-hook-box h2 {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
      color: #ffffff;
      text-shadow: 0 2px 20px rgba(3, 7, 18, 0.9), 0 0 30px rgba(56, 189, 248, 0.25);
    }

    .final-hook-box p {
      color: #cbd5e1;
      font-size: 1.05rem;
      line-height: 1.6;
      margin-bottom: 2.5rem;
      text-shadow: 0 2px 10px rgba(3, 7, 18, 0.8);
    }

    /* --- ESTILOS DEL PANEL MODAL DE ÉXITO --- */
    .hb-modal-overlay {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(3, 7, 18, 0.85);
      backdrop-filter: blur(8px);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .hb-modal-overlay.is-active {
      opacity: 1;
      visibility: visible;
    }

    .hb-modal-container {
      background: linear-gradient(145deg, rgba(11, 19, 41, 0.95) 0%, rgba(7, 14, 30, 0.98) 100%);
      border: 1px solid var(--hb-border);
      border-radius: 24px;
      padding: 3rem 2.5rem;
      max-width: 460px;
      width: 90%;
      text-align: center;
      box-shadow: 0 30px 60px rgba(3, 7, 18, 0.9), 0 0 40px rgba(56, 189, 248, 0.15);
      position: relative;
      transform: translateY(20px);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hb-modal-overlay.is-active .hb-modal-container {
      transform: translateY(0);
    }

    .hb-modal-icon {
      font-size: 3rem;
      width: 80px; height: 80px;
      background: rgba(14, 165, 233, 0.1);
      border: 1px solid rgba(56, 189, 248, 0.3);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem auto;
      box-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
    }

    .hb-modal-container h3 {
      font-size: 1.8rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 0.8rem;
      letter-spacing: -0.02em;
    }

    .hb-modal-container p {
      font-size: 1rem;
      color: var(--hb-muted);
      line-height: 1.5;
      margin-bottom: 2rem;
    }

    .hb-modal-btn {
      background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
      color: #fff;
      font-weight: 800;
      padding: 14px 32px;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1rem;
      width: 100%;
      box-shadow: 0 0 25px rgba(14, 165, 233, 0.4);
      transition: all 0.3s ease;
    }

    .hb-modal-btn:hover {
      background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
      box-shadow: 0 0 35px rgba(56, 189, 248, 0.6);
      transform: translateY(-2px);
    }

    @media (max-width: 900px) {
      .bento-hero-grid {
        grid-template-columns: 1fr;
      }
      .proof-grid {
        grid-template-columns: 1fr;
      }
      .hook-form-wrapper {
        flex-direction: column;
      }
      .hook-form-wrapper button {
        width: 100%;
      }
    }