/* ========================================
   Resume & CV Page — Cyber Aesthetics
   ======================================== */

.resume-page-wrapper {
  min-height: 100vh;
  padding: 6.5rem 1.25rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Page Header */
.resume-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.resume-header .section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  background: hsla(160, 100%, 50%, 0.08);
  border: 1px solid hsla(160, 100%, 50%, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.resume-title {
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.resume-subtitle {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   Access Gate Card (Request via WhatsApp)
   ======================================== */
.access-gate-card {
  position: relative;
  background: linear-gradient(145deg, hsla(220, 20%, 9%, 0.95), hsla(220, 20%, 6%, 0.95));
  border: 1px solid hsla(160, 100%, 50%, 0.35);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  margin-bottom: 2.75rem;
  box-shadow: 0 10px 40px hsla(220, 25%, 3%, 0.8), 0 0 25px hsla(160, 100%, 50%, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.access-gate-card:hover {
  border-color: hsla(160, 100%, 50%, 0.55);
  box-shadow: 0 12px 45px hsla(220, 25%, 3%, 0.9), 0 0 35px hsla(160, 100%, 50%, 0.18);
}

.gate-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.gate-top-bar .gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(160, 100%, 50%, 0.12);
  border: 1px solid hsla(160, 100%, 50%, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 100%;
}

.gate-top-bar .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-gate 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-gate {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.gate-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: hsla(160, 100%, 50%, 0.08);
  border: 1px solid hsla(160, 100%, 50%, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  box-shadow: inset 0 0 15px hsla(160, 100%, 50%, 0.15);
}

.gate-title {
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.gate-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.btn-whatsapp-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.btn-whatsapp-access:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.btn-whatsapp-access i {
  font-size: 1.25rem;
}

.btn-email-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.9rem 1.65rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
}

.btn-email-access:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: hsla(160, 100%, 50%, 0.05);
}

.gate-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1.5;
}

/* ========================================
   Dossier / Web Resume Layout
   ======================================== */
.resume-dossier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Dossier Profile Header */
.dossier-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.dossier-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: var(--glow);
  object-fit: cover;
  flex-shrink: 0;
}

.dossier-profile-info {
  flex-grow: 1;
}

.dossier-name {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dossier-role {
  font-size: 1.05rem;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.dossier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.dossier-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.dossier-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dossier Sections */
.dossier-section {
  margin-bottom: 2.5rem;
}

.dossier-section:last-child {
  margin-bottom: 0;
}

.dossier-sec-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
}

.dossier-sec-title i {
  font-size: 1rem;
}

/* Timeline Cards */
.timeline-card {
  position: relative;
  padding: 1.25rem;
  background: hsla(220, 20%, 6%, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.timeline-card:hover {
  border-color: hsla(160, 100%, 50%, 0.4);
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  background: hsla(160, 100%, 50%, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}

.timeline-org {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.timeline-bullets {
  list-style: none;
  padding-left: 0;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.45rem;
}

.timeline-bullets li:last-child {
  margin-bottom: 0;
}

.timeline-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Skills Grid */
.skills-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.skill-category-card {
  background: hsla(220, 20%, 6%, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.skill-category-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.skill-category-head i {
  color: var(--accent);
}

.skill-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  background: hsla(220, 20%, 12%, 0.8);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
}

/* Projects Grid */
.projects-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.project-mini-card {
  background: hsla(220, 20%, 6%, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-mini-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.project-mini-title a {
  color: var(--accent);
  font-size: 0.95rem;
  transition: transform 0.2s;
  padding: 0.25rem;
}

.project-mini-title a:hover {
  transform: translateY(-2px);
}

.project-mini-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.project-mini-stack span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: hsla(160, 100%, 50%, 0.08);
  color: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Honors / Achievements */
.honors-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.honor-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: hsla(220, 20%, 6%, 0.6);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.honor-icon {
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.honor-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex-grow: 1;
  line-height: 1.45;
}

.honor-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  background: hsla(160, 100%, 50%, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Education Course List */
.edu-course-list {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.edu-course-label {
  color: var(--text-primary);
  font-weight: 600;
}

/* Bottom CTA Banner */
.bottom-gate-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, hsla(220, 20%, 9%, 0.95), hsla(220, 20%, 6%, 0.95));
  border: 1px solid hsla(160, 100%, 50%, 0.3);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bottom-gate-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.bottom-gate-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   Mobile & Tablet Responsive Styling
   ======================================== */
@media (max-width: 900px) {
  .resume-page-wrapper {
    padding: 5.5rem 1.25rem 3.5rem;
  }
}

@media (max-width: 768px) {
  .resume-page-wrapper {
    padding: 5rem 1rem 3rem;
  }

  .resume-header {
    margin-bottom: 1.75rem;
  }

  .access-gate-card {
    padding: 1.6rem 1.15rem;
    margin-bottom: 2rem;
  }

  .gate-top-bar .gate-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
    letter-spacing: 0.05em;
  }

  .gate-icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .gate-description {
    font-size: 0.9rem;
    margin-bottom: 1.35rem;
  }

  .gate-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-whatsapp-access,
  .btn-email-access {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .gate-note {
    font-size: 0.78rem;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }

  .resume-dossier {
    padding: 1.5rem 1.15rem;
  }

  .dossier-hero {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .dossier-avatar {
    width: 80px;
    height: 80px;
  }

  .dossier-meta {
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.82rem;
  }

  .dossier-meta span {
    width: 100%;
    justify-content: center;
  }

  .timeline-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .timeline-period {
    align-self: flex-start;
  }

  .skills-group-grid,
  .projects-mini-grid {
    grid-template-columns: 1fr;
  }

  .honor-item {
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
  }

  .honor-icon {
    margin-top: 0.2rem;
  }

  .bottom-gate-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.15rem;
    margin-top: 2rem;
  }

  .bottom-gate-banner .btn-whatsapp-access {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .resume-page-wrapper {
    padding: 4.75rem 0.75rem 2.5rem;
  }

  .access-gate-card {
    padding: 1.35rem 0.9rem;
  }

  .resume-dossier {
    padding: 1.25rem 0.85rem;
  }

  .timeline-card,
  .skill-category-card,
  .project-mini-card {
    padding: 1rem 0.85rem;
  }
}
