/*
Theme Name: Insurpector
Description: Custom WordPress theme for Insurpector insurance claims management platform
Version: 1.0
Author: Insurpector Team
*/

:root {
    --primary-color: #00b4ba;
    --secondary-color: #4c7fff;
    --dark-blue: #1e3756;
    --light-blue: #e6f7f8;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Ensure emoji fonts are available */
@font-face {
    font-family: 'EmojiFont';
    src: local('Apple Color Emoji'), local('Segoe UI Emoji'), local('Noto Color Emoji'), local('Segoe UI Symbol'), local('Android Emoji'), local('EmojiSymbols');
    unicode-range: U+1F000-1F9FF, U+2600-26FF, U+2700-27BF;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary-color);
}

.logo-icon {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
}

.auth-buttons a {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: 10px;
    font-weight: 500;
}

.login-btn {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.register-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    background-color: var(--light-blue);
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(230, 247, 248, 0.9), rgba(230, 247, 248, 0.9));
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #009ca1;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'EmojiFont', "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols", 'Segoe UI', sans-serif;
    line-height: 1;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-blue);
    border-radius: 50%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fallback for systems without emoji support */
.feature-icon::after {
    content: attr(data-fallback);
    display: none;
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
}

.no-emoji .feature-icon {
    font-size: 24px;
    font-weight: bold;
}

.no-emoji .feature-icon::after {
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.feature-card p {
    font-size: 14px;
    color: #666;
}

.our-solution {
    padding: 80px 0;
    background-color: var(--light-blue);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}
.about h2{
    font-size: 32px;
    margin-bottom: 20px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card.featured {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured .features-list li {
    color: var(--white);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.price-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e6e6e6;
    color: #666;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Badge para 2 meses gratis */
.badge-free {
    background-color: #FF5722;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -10px;
    right: -10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    z-index: 10;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.secondary-cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
}

.secondary-cta-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.logo {
    height: 35px;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: var(--white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-blue);
}

.faq-answer {
    background-color: var(--white);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Estilos para la sección "Nuestra Solución" */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.solution-item {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.solution-item:hover {
    transform: translateY(-5px);
}

.solution-item h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.solution-item h3 i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 24px;
}

.solution-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Estilos para las capturas de pantalla */
.screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.screenshot {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot img.loaded {
    opacity: 1;
}

/* Blog Styles */
.blog-hero {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
}

.blog-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.blog-post {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.post-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.post-date {
    color: #666;
}

.blog-sidebar {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.popular-posts {
    list-style: none;
}

.popular-posts li {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e6e6;
}

.popular-posts li:last-child {
    border-bottom: none;
}

.newsletter-widget {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: 8px;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
}

/* Article Styles */
.single-article {
    padding: 60px 0;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    color: var(--dark-blue);
    margin: 30px 0 15px;
}

.article-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.article-tags a {
    background-color: var(--light-blue);
    color: var(--dark-blue);
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 10px;
    font-size: 14px;
}

.share-buttons {
    margin-top: 20px;
}

.share-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 10px;
    font-size: 14px;
}

.article-author-bio {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
}

/* Legal Pages */
.legal-hero {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
}

.legal-section h3 {
    color: var(--dark-blue);
    margin: 25px 0 15px;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-section ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

.legal-section ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-date {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #666;
}

.table-of-contents {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
}

.table-of-contents h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.table-of-contents ul {
    list-style-type: none;
    padding-left: 0;
}

.table-of-contents ul li {
    margin-bottom: 10px;
}

.table-of-contents a {
    text-decoration: none;
    color: var(--primary-color);
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* Help Center */
.help-hero {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
}

.help-search {
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-box {
    display: flex;
    width: 100%;
}

.search-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.search-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.topic-list {
    margin-top: 60px;
}

.topic-section {
    margin-bottom: 50px;
}

.topic-section h2 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.topic-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    transition: background-color 0.3s;
}

.topic-card:hover {
    background-color: var(--light-blue);
}

.topic-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.topic-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.topic-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.contact-support {
    background-color: var(--light-blue);
    padding: 50px 0;
    text-align: center;
    margin-top: 60px;
}

.contact-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.contact-option {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-icon {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-section {
    margin-top: 60px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .auth-buttons a {
        padding: 6px 12px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        padding: 10px 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .screenshots {
        grid-template-columns: 1fr;
    }

    .blog-container {
        grid-template-columns: 1fr;
    }
}

.text-muted{
    color: #666;
    font-size: 0.9rem;
}
.price-detail{
    margin-top: 8px;
}