@import url("./common.css");

/* === Reserve Page Styles === */

/* Hero gradient overlay */
.reserve-hero {
    background: linear-gradient(135deg, rgba(23, 102, 82, 0.25) 0%, var(--bg-dark) 60%);
}

/* Filter button group */
.filter-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(107, 126, 124, 0.25);
    background: white;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-mint);
}

.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(23, 102, 82, 0.25);
}

/* Pricing cards */
.pricing-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid rgba(107, 126, 124, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.pricing-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(107, 126, 124, 0.12);
}

.pricing-card-header.standard {
    background: var(--bg-light);
}

.pricing-card-header.cold-chain {
    background: linear-gradient(135deg, #ecfeff 0%, #eff6ff 100%);
    border-bottom-color: rgba(34, 211, 238, 0.2);
}

/* Cold-chain watermark icon */
.pricing-card-header.cold-chain .header-watermark {
    position: absolute;
    top: -1rem;
    right: -1rem;
    opacity: 0.04;
    transform: rotate(12deg);
    pointer-events: none;
}

/* Tag pills */
.tag-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

.tag-standard {
    background: rgba(107, 126, 124, 0.12);
    color: var(--bg-teal);
}

.tag-cold {
    background: rgba(34, 211, 238, 0.12);
    color: #155e75;
    border: 1px solid rgba(34, 211, 238, 0.25);
}

/* Term boxes */
.term-box {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(107, 126, 124, 0.1);
}

.term-box.primary {
    background: var(--bg-light);
}

.term-box .term-price {
    font-weight: 700;
    font-family: var(--font);
}

.term-box .term-price.accent {
    color: var(--accent);
}

/* Card CTA */
.card-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.card-cta:hover {
    background: var(--bg-black);
}

/* How It Works connector line */
.steps-connector {
    position: absolute;
    top: 3rem;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--bg-mint);
    z-index: 0;
}

/* Step circle */
.step-circle {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: var(--bg-mint);
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background: var(--bg-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* What's Included cards */
.included-card {
    background: rgba(30, 36, 33, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(162, 180, 175, 0.15);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
}

@media (min-width: 768px) {
    .included-card {
        padding: 2.5rem;
    }
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.included-item svg,
.included-item i {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Info panel */
.info-panel {
    background: var(--accent-30);
    border: 1px solid var(--accent-50);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

/* CTA section */
.reserve-cta-section {
    background: var(--accent);
    position: relative;
    overflow: hidden;
}

.reserve-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.06;
    pointer-events: none;
}

/* Scroll reveal (consistent with reveal.js) */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger> :nth-child(1) {
    transition-delay: 0s;
}

.reveal-stagger> :nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-stagger> :nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-stagger> :nth-child(4) {
    transition-delay: 0.15s;
}

.reveal-stagger> :nth-child(5) {
    transition-delay: 0.2s;
}

.reveal-stagger> :nth-child(6) {
    transition-delay: 0.25s;
}

.reveal-stagger> :nth-child(7) {
    transition-delay: 0.3s;
}

.reveal-stagger> :nth-child(8) {
    transition-delay: 0.35s;
}

.reveal-stagger> :nth-child(9) {
    transition-delay: 0.4s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pricing-card {
        transition: none;
    }

    .filter-btn {
        transition: none;
    }
}