/* Global animation system */
:root {
    --anim-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --anim-fast: 320ms;
    --anim-base: 700ms;
    --anim-slow: 950ms;
    --mc-emerald: #10b981;
    --mc-emerald-deep: #047857;
    --mc-slate: #0f172a;
}

body {
    font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Outfit", "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.section-shell {
    padding: clamp(3.5rem, 5vw, 6rem) 0;
}

.eyebrow {
    color: var(--mc-emerald-deep);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title {
    margin-top: 0.45rem;
    color: var(--mc-slate);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
}

.section-intro {
    margin-top: 0.9rem;
    color: #475569;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    max-width: 52rem;
}

.glass-chip {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.info-card,
.fee-card,
.step-card,
.timeline-card,
.check-card,
.review-card {
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.16);
    padding: 1.35rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: transform var(--anim-fast) var(--anim-ease), box-shadow var(--anim-fast) var(--anim-ease), border-color var(--anim-fast) var(--anim-ease);
}

.info-card:hover,
.fee-card:hover,
.step-card:hover,
.timeline-card:hover,
.check-card:hover,
.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.42);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.info-card h3,
.fee-card h3,
.step-card h3,
.timeline-card h3,
.check-card h3 {
    color: var(--mc-slate);
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.info-card p,
.fee-card p,
.step-card p,
.review-card p {
    color: #475569;
    line-height: 1.56;
}

.info-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #065f46;
    background: linear-gradient(140deg, #d1fae5, #a7f3d0);
    margin-bottom: 0.9rem;
}

.fee-price {
    color: #065f46 !important;
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.fee-note {
    margin-bottom: 0.7rem;
}

.fee-card ul,
.timeline-card ul,
.check-card ul {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.38rem;
}

.fee-card li,
.timeline-card li,
.check-card li {
    color: #334155;
    line-height: 1.4;
}

.step-index {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(120deg, #059669, #10b981);
    margin-bottom: 0.8rem;
}

.timeline-day {
    color: #047857 !important;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

/* Entrance animations used directly in markup */
.fade-in {
    animation: fadeIn var(--anim-base) var(--anim-ease) both;
}

.fade-in-delay {
    animation: fadeIn var(--anim-base) var(--anim-ease) 180ms both;
}

.slide-up {
    animation: slideUp var(--anim-slow) var(--anim-ease) both;
}

.slide-up-delay {
    animation: slideUp var(--anim-slow) var(--anim-ease) 240ms both;
}

.zoom-in {
    animation: zoomIn 620ms var(--anim-ease) both;
}

.animate-fade-in {
    animation: fadeIn 420ms ease-out both;
}

/* Scroll reveal */
.animate-on-scroll {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
    filter: blur(3px);
    transition:
        opacity var(--anim-base) var(--anim-ease),
        transform var(--anim-base) var(--anim-ease),
        filter var(--anim-base) var(--anim-ease);
    will-change: opacity, transform, filter;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

/* Optional reveal directions */
.animate-on-scroll.from-left {
    transform: translate3d(-34px, 0, 0) scale(0.985);
}

.animate-on-scroll.from-right {
    transform: translate3d(34px, 0, 0) scale(0.985);
}

.animate-on-scroll.zoom-soft {
    transform: scale(0.94);
}

.animate-on-scroll.is-visible.from-left,
.animate-on-scroll.is-visible.from-right,
.animate-on-scroll.is-visible.zoom-soft {
    transform: translate3d(0, 0, 0) scale(1);
}

/* Global lightbox styles */
.lightbox-backdrop {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(2px);
}

.lightbox-image {
    max-width: min(92vw, 1100px);
    max-height: 82vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate3d(0, 34px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in-delay,
    .slide-up,
    .slide-up-delay,
    .zoom-in,
    .animate-fade-in {
        animation: none !important;
    }

    .animate-on-scroll,
    .animate-on-scroll.is-visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}
