/* Base Styles */
:root {
    /* Match your app's theme colors */
    --primary-color: #1976D2;
    --primary-dark: #1565C0;
    --primary-light: #BBDEFB;
    --secondary-color: #FF9800;
    --secondary-dark: #F57C00;
    --text-color: #333333;
    --text-light: #757575;
    --background-color: #FFFFFF;
    --background-light: #F5F5F5;
    --success-color: #4CAF50;
    --error-color: #F44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

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

ul {
    list-style: none;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

/* Disabled button styles */
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.disabled:hover {
    opacity: 0.6;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--background-light);
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--background-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.pricing-card.popular {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: 8px;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-light);
}

.pricing-features {
    padding: 30px;
}

.pricing-features .features-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-features .features-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features .features-table tr:last-child {
    border-bottom: none;
}

.pricing-features .feature-icon-cell {
    width: 40px;
    padding: 12px 0;
    text-align: center;
    vertical-align: top;
}

.pricing-features .feature-icon-cell i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.pricing-features .feature-content-cell {
    padding: 12px 0 12px 15px;
    vertical-align: top;
    line-height: 1.4;
}

.pricing-features .feature-content-cell strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text-color);
}

.pricing-features .feature-content-cell small {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.3;
}

.pricing-features i {
    margin-right: 10px;
}

.pricing-features .fa-check {
    color: var(--success-color);
}

.pricing-features .fa-times {
    color: var(--error-color);
}

.pricing-card .btn {
    display: block;
    margin: 0 30px 30px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial {
    min-width: 350px;
    scroll-snap-align: start;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonial navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-dot.active {
    background-color: var(--primary-color);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--background-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--background-light);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        display: none;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Region selector */
.region-selector {
    text-align: center;
    margin-bottom: 30px;
}

.region-selector label {
    margin-right: 10px;
    font-weight: 500;
}

.region-selector select {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: white;
    font-size: 1rem;
    cursor: pointer;
} 

/* Loading Spinner Styles */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #666;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.loading-spinner p {
    font-size: 1rem;
    margin: 0;
}

/* Error Message Styles */
.error-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    text-align: center;
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
}

.error-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.error-content i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Enhanced Pricing Card Styles */
.pricing-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.plan-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 16px;
}

/* Enhanced Button Styles */
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
}

/* Region Selector Enhancement */
.region-selector {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.region-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.region-selector select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 2px solid #e1e5e9;
    background-color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Enhanced FAQ Styles */
.faq-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Footer Enhancement */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #e1e5e9;
    padding-top: 2rem;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        padding: 1rem 0;
    }
    
    nav.active ul {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        padding: 0;
    }
    
    nav ul a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    nav ul a:hover {
        background: #f8f9fa;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .region-selector {
        text-align: center;
    }
    
    .region-selector select {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
} 

/* Enhanced pricing card features */
.pricing-features .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features .feature-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features .feature-item:last-child {
    border-bottom: none;
}

.pricing-features .feature-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-features .feature-content {
    flex: 1;
}

.pricing-features .feature-content strong {
    display: block;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.pricing-features .feature-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.pricing-footer {
    padding: 30px;
    border-top: 1px solid #eee;
} 

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-button {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--secondary-color);
        transition: right 0.3s ease;
        padding-top: 4rem;
        z-index: 1000;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 2rem;
        color: white;
    }
    
    /* Responsive pricing adjustments */
    .pricing-card.popular {
        transform: none !important;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .pricing-header .price {
        font-size: 2.5rem;
    }
    
    .pricing-features .feature-item {
        padding: 10px 0;
    }
    
    .pricing-features .feature-icon {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .pricing-features .feature-content strong {
        font-size: 0.95rem;
    }
    
    .pricing-features .feature-content p {
        font-size: 0.85rem;
    }
    
    .pricing-footer {
        padding: 20px;
    }
    
    /* Responsive coming soon banner */
    .coming-soon-banner {
        padding: 40px 20px;
        margin: 30px auto;
    }
    
    .coming-soon-banner i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .coming-soon-banner h3 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .coming-soon-banner p {
        font-size: 1rem;
    }
 } 

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.2);
    position: relative;
    overflow: hidden;
}

.coming-soon-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.banner-content {
    position: relative;
    z-index: 1;
}

.coming-soon-banner i {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.coming-soon-banner h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.coming-soon-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
} 

/* Legal Pages Styles */
.legal-page {
    padding: 80px 0;
    background-color: var(--background-color);
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.legal-page .last-updated {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 5px;
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-page ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-page strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Modal Styles - Cross-browser compatible */
div.modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    overflow: auto;
}

div.modal.show {
    display: block;
}

/* Center vertically using table-cell method for Edge compatibility */
div.modal::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

.modal .modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    margin: 50px auto;
}

.modal .modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.5;
}

.modal-body h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.modal-body .last-updated {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.modal-body section {
    margin-bottom: 30px;
}

.modal-body h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 5px;
}

.modal-body p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 12px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.modal-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

.close {
    color: #999;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #333;
}

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

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Mobile responsiveness for modals */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body h1 {
        font-size: 1.5rem;
    }
    
    .modal-body h2 {
        font-size: 1.2rem;
    }
} 