/* Custom styles for the static HTML version */

/* Base typography */
body {
    font-family: 'Open Sans', ui-sans-serif, system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    height: 2.5rem;
    padding: 1.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.5rem;
    border-radius: 0.375rem;
    font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.1px;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn:focus-visible {
    outline: 2px solid rgba(59, 98, 111, 0.5);
    outline-offset: 2px;
}

.btn-primary {
    background-color: #3b626f;
    color: white;
}

.btn-primary:hover {
    background-color: #324f5a;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #3b626f;
    color: #1b2a31;
}

.btn-secondary:hover {
    background-color: #3b626f;
    color: white;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Button text for header */
.btn-text {
    font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.1px;
}

/* Card styles */
.card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #deedef;
}

/* Feature icon styles */
.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    background-color: #f8f8f8;
    border: 1px solid #deedef;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Animation classes for GSAP */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom focus styles */
*:focus-visible {
    outline: 2px solid rgba(59, 98, 111, 0.5);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    #hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    #about-buttons .flex {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Print styles */
@media print {
    .btn, nav, header {
        display: none !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border-width: 2px;
    }

    .btn {
        border-width: 2px;
    }
}

/* Webinar widget button */
.webinar-widget-btn {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 98, 111, 0.4);
    }
    50% {
        box-shadow: 0 0 15px rgba(59, 98, 111, 0.7);
    }
}

/* Webinar modal */
.webinar-modal-backdrop {
    backdrop-filter: blur(4px);
}

.webinar-modal-content {
    animation: modal-slide-in 0.3s ease-out;
}

@keyframes modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
