/* ============================================================
   LOGIA SIMBÓLICA – LANDING PAGE STYLES
   Dark mystical theme with gold accents
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep: #0a0a0f;
  --bg-mid: #111118;
  --bg-card: #14141e;
  --gold-light: #f5d060;
  --gold-mid: #c89b3c;
  --gold-dark: #8a6820;
  --accent-blue: #4f8ef7;
  --accent-teal: #2dd4bf;
  --text-primary: #f0eadc;
  --text-muted: #7a7590;
  --border: rgba(200, 155, 60, 0.18);
  --shadow-gold: 0 0 40px rgba(200, 155, 60, 0.15);
  --radius-card: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background canvas & overlay ── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(79, 142, 247, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(200, 155, 60, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(10, 10, 15, 0.6) 0%, transparent 100%);
  pointer-events: none;
}

/* ── Page wrapper ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  padding: 32px 0 40px;
  display: flex;
  justify-content: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-emblem {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 12px rgba(245, 208, 96, 0.5));
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(245, 208, 96, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 22px rgba(245, 208, 96, 0.75));
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

/* ── Divider ── */
.logo-wrap::before {
  display: none;
}

/* ── Hero ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 60px;
}

.hero-content {
  text-align: center;
  max-width: 620px;
  margin-bottom: 60px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 16px;
  opacity: 0;
  animation: fade-up 0.6s 0.1s forwards;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(160deg, #fff 0%, var(--gold-light) 60%, var(--gold-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fade-up 0.6s 0.2s forwards;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  opacity: 0;
  animation: fade-up 0.6s 0.35s forwards;
}

/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 780px;
}

/* ── Access card ── */
.access-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 32px 28px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  animation: fade-up 0.65s forwards;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.card-alumnos {
  animation-delay: 0.45s;
}

.card-monkey {
  animation-delay: 0.6s;
}

.access-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(200, 155, 60, 0.45);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    var(--shadow-gold);
}

/* Glow blob behind card */
.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card-alumnos .card-glow {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79, 142, 247, 0.12) 0%, transparent 70%);
}

.card-monkey .card-glow {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 155, 60, 0.12) 0%, transparent 70%);
}

.access-card:hover .card-glow {
  opacity: 1;
}

/* ── Card icon ── */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  flex-shrink: 0;
}

.card-alumnos .card-icon {
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.15), rgba(79, 142, 247, 0.05));
  border: 1px solid rgba(79, 142, 247, 0.25);
  color: var(--accent-blue);
}

.card-monkey .card-icon {
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.15), rgba(200, 155, 60, 0.05));
  border: 1px solid rgba(200, 155, 60, 0.25);
  color: var(--gold-light);
}

.card-icon svg {
  width: 40px;
  height: 40px;
}

/* Cetus real logo image */
.card-icon-img {
  background: transparent !important;
  border: none !important;
  padding: 0;
}

.cetus-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
}

/* ── Card body ── */
.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.card-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
}

/* ── Card footer ── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.card-link-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-family: 'Inter', monospace;
  transition: color var(--transition);
}

.access-card:hover .card-link-label {
  color: var(--gold-light);
}

.card-arrow {
  font-size: 1.2rem;
  transition: transform var(--transition), color var(--transition);
  color: var(--text-muted);
}

.access-card:hover .card-arrow {
  transform: translateX(6px);
  color: var(--gold-light);
}

/* ── Footer ── */
.site-footer {
  padding: 28px 0;
  text-align: center;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Animations ── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .logo-main {
    font-size: 1.2rem;
  }

  .hero-content {
    margin-bottom: 40px;
  }

  .access-card {
    padding: 28px 24px 22px;
  }

  .cards-grid {
    gap: 20px;
  }
}