/* ═══════════════════════════════════════════════════════════════
   INFO PAGE — Parallax Hero · Timeline · Accordion
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.info-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 60%, #0d0d2b 0%, #050510 100%);
}

.info-hero__stars,
.info-hero__nebula {
    position: absolute;
    inset: 0;
    pointer-events: none;
    will-change: transform;
}

/* CSS star field — 80 pseudo-random dots */
.info-hero__stars {
    background-image:
        radial-gradient(1px 1px at 10%  15%, rgba(255,255,255,.85) 0%, transparent 100%),
        radial-gradient(1px 1px at 25%  42%, rgba(255,255,255,.6)  0%, transparent 100%),
        radial-gradient(1px 1px at 38%   8%, rgba(255,255,255,.75) 0%, transparent 100%),
        radial-gradient(1px 1px at 55%  30%, rgba(255,255,255,.5)  0%, transparent 100%),
        radial-gradient(1px 1px at 70%  18%, rgba(255,255,255,.8)  0%, transparent 100%),
        radial-gradient(1px 1px at 84%  55%, rgba(255,255,255,.65) 0%, transparent 100%),
        radial-gradient(1px 1px at  6%  72%, rgba(255,255,255,.7)  0%, transparent 100%),
        radial-gradient(1px 1px at 17%  88%, rgba(255,255,255,.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 45%  65%, rgba(255,255,255,.8)  0%, transparent 100%),
        radial-gradient(1px 1px at 63%  80%, rgba(255,255,255,.6)  0%, transparent 100%),
        radial-gradient(1px 1px at 90%  35%, rgba(255,255,255,.75) 0%, transparent 100%),
        radial-gradient(1px 1px at 78%  92%, rgba(255,255,255,.5)  0%, transparent 100%),
        radial-gradient(2px 2px at 32%  50%, rgba(180,140,255,.5)  0%, transparent 100%),
        radial-gradient(2px 2px at 58%  12%, rgba(140,200,255,.4)  0%, transparent 100%),
        radial-gradient(2px 2px at 80%  70%, rgba(255,180,130,.35) 0%, transparent 100%),
        radial-gradient(1px 1px at  3%  30%, rgba(255,255,255,.7)  0%, transparent 100%),
        radial-gradient(1px 1px at 48%  95%, rgba(255,255,255,.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 93%  10%, rgba(255,255,255,.8)  0%, transparent 100%),
        radial-gradient(1px 1px at 22%  60%, rgba(255,255,255,.65) 0%, transparent 100%),
        radial-gradient(1px 1px at 67%  45%, rgba(255,255,255,.7)  0%, transparent 100%);
    background-size: 100% 100%;
}

.info-hero__nebula {
    background:
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(88,28,255,.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 35% at 75% 25%, rgba(28,140,255,.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 55% 50%, rgba(255,80,180,.06) 0%, transparent 70%);
}

.info-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 760px;
}

.info-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #f0f0ff;
    letter-spacing: .02em;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(140,100,255,.6);
}

.info-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #a8a8cc;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.info-scroll-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(140,100,255,.5);
    color: #a88cff;
    font-size: 1.4rem;
    text-decoration: none;
    animation: info-bounce 2s ease-in-out infinite;
    transition: border-color .2s, color .2s;
}
.info-scroll-cta:hover {
    border-color: #a88cff;
    color: #d0b8ff;
}

@keyframes info-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* ─── Section backgrounds ─── */
.info-timeline-section {
    background: var(--skyra-bg, #08080f);
}
.info-faq-section {
    background: var(--skyra-surface, #0f0f1a);
}

/* ─── Timeline ─── */
.info-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Center vertical line */
.info-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(140,100,255,.5) 8%,
        rgba(140,100,255,.5) 92%,
        transparent 100%);
    transform: translateX(-50%);
}

.info-tl-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3.5rem;
    gap: 1.5rem;
}

.info-tl-item--left  { flex-direction: row; }
.info-tl-item--right { flex-direction: row-reverse; }

/* Card takes 44% width on each side */
.info-tl-card {
    width: 44%;
    flex-shrink: 0;
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(140,100,255,.25);
    background: rgba(20,16,40,.85);
    backdrop-filter: blur(6px);
}

.info-tl-item--right .info-tl-card { text-align: right; }

/* Icon dot in center */
.info-tl-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    background: var(--skyra-bg, #08080f);
    border: 2px solid rgba(140,100,255,.45);
    border-radius: 50%;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    box-shadow: 0 0 20px rgba(140,100,255,.25);
}

/* Step tag */
.info-tl-tag {
    position: absolute;
    top: 0;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #7c5cbf;
    padding: 2px 8px;
    border: 1px solid rgba(140,100,255,.3);
    border-radius: 4px;
    background: rgba(20,10,40,.6);
}
.info-tl-item--left  .info-tl-tag { left: 0; }
.info-tl-item--right .info-tl-tag { right: 0; }

.info-tl-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d8ccff;
    margin: 1.4rem 0 .5rem;
}

.info-tl-desc {
    font-size: .9rem;
    color: #b0a8d0;
    margin-bottom: .5rem;
}

.info-tl-detail {
    font-size: .85rem;
    color: #888aaa;
    margin-bottom: .6rem;
    line-height: 1.6;
}

.info-tl-tip {
    display: inline-block;
    font-size: .78rem;
    color: #7c5cbf;
    border-left: 2px solid rgba(140,100,255,.4);
    padding-left: .6rem;
    font-style: italic;
}
.info-tl-item--right .info-tl-tip {
    border-left: none;
    border-right: 2px solid rgba(140,100,255,.4);
    padding-left: 0;
    padding-right: .6rem;
}

/* ─── Scroll reveal ─── */
.info-tl-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .5s ease, transform .5s ease;
}
.info-tl-reveal.info-visible {
    opacity: 1;
    transform: translateY(0);
}
.info-tl-item--right.info-tl-reveal {
    transform: translateY(32px) translateX(16px);
}
.info-tl-item--right.info-visible {
    transform: translateY(0) translateX(0);
}

/* ─── Accordion ─── */
.info-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.info-acc-item {
    border: 1px solid rgba(140,100,255,.2);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(18,14,34,.8);
    transition: border-color .2s;
}
.info-acc-item:hover {
    border-color: rgba(140,100,255,.45);
}

.info-acc-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: #ccc8f0;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background .2s, color .2s;
}
.info-acc-btn:hover { background: rgba(140,100,255,.08); color: #e0d8ff; }
.info-acc-btn[aria-expanded="true"] { color: #b89eff; }

.info-acc-chevron {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform .25s ease;
    color: #7c5cbf;
    flex-shrink: 0;
}
.info-acc-btn[aria-expanded="true"] .info-acc-chevron {
    transform: rotate(90deg);
}

.info-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 1.4rem;
}
.info-acc-body.info-acc-open {
    max-height: 300px;
    padding: 0 1.4rem .9rem;
}
.info-acc-body p {
    margin: 0;
    font-size: .88rem;
    color: #9898bc;
    line-height: 1.7;
}

/* ─── Mobile ─── */
@media (max-width: 680px) {
    .info-timeline::before { left: 20px; }

    .info-tl-item,
    .info-tl-item--right { flex-direction: column; padding-left: 52px; }

    .info-tl-card { width: 100%; text-align: left !important; }
    .info-tl-tip  { border-left: 2px solid rgba(140,100,255,.4) !important;
                    border-right: none !important;
                    padding-left: .6rem !important;
                    padding-right: 0 !important; }

    .info-tl-icon {
        left: 20px;
        top: 0;
        width: 40px; height: 40px;
        font-size: 1.2rem;
    }

    .info-tl-tag {
        left: 52px !important;
        right: auto !important;
    }

    .info-tl-title { margin-top: 2rem; }

    .info-tl-item--right.info-tl-reveal { transform: translateY(32px) translateX(0); }
}
