/* Clean, Modern Mint State Restoration CSS */

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #6c757d;
    --accent-color: #dc3545;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --safety-bg: #fff5f5;
    --safety-border: #fecaca;
    --footer-bg: #212529;
    --footer-hover: #adb5bd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    margin-bottom: 3rem;
}

.hero-image {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Typography */
.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.section-title i {
    color: var(--primary-color);
}

.lead {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Lists */
.instruction-list {
    padding-left: 1.5rem;
}

.instruction-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Safety Card */
.safety-card {
    background: var(--safety-bg);
    border: 1px solid var(--safety-border);
    border-radius: 8px;
    padding: 1.5rem;
}

.safety-title {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--safety-border);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.safety-section {
    margin-bottom: 1.5rem;
}

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

.safety-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.safety-section p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Contact Card */
.contact-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-card p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Purchase Section */
.purchase-section {
    background: var(--light-bg);
    padding: 3rem 0;
    border-radius: 12px;
}

.purchase-card-main {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.purchase-card-main h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.purchase-card-main .lead {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.purchase-card-main .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.purchase-card-main .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    margin-top: 3rem;
}

footer a:hover {
    color: var(--footer-hover);
}

/* Alert Styling */
.alert-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #664d03;
    border-radius: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.fade-in {
    --animation-delay: 0s;
    animation: fadeIn 0.8s ease-out var(--animation-delay) both;
}

.fade-in-delay {
    --animation-delay: 0.2s;
}

.fade-in-delay-2 {
    --animation-delay: 0.4s;
}

.slide-in {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .safety-card {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .safety-card {
        position: static;
        page-break-inside: avoid;
    }
    
    .section-title {
        page-break-after: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}