body {
    background-color: #ffffff;
    color: #222222;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

main {
    padding-top: 100px;
}

.navbar-custom {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 1rem;
    transition: padding 0.3s ease;
}

.navbar-custom .navbar-brand {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #000000 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-custom .nav-link {
    color: #000000 !important;
    font-size: 18px;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.2s ease;
}

.navbar-custom .nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #003366;
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover {
    color: #003366 !important;
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}

.navbar-custom .btn-cta {
    background: #ffffff;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    border: 1px solid #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
}

.navbar-custom .btn-cta:hover {
    background: #bc264c;
    color: #ffffff;
    transform: translateY(-2px);
}

.tool-section {
    text-align: center;
    color: #222222;
    padding: 1rem 1rem;
}

.tool-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tool-subtitle {
    font-size: 18px;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.tool-form .tool-input {
    padding: 0.75rem 1rem;
    border: 2px solid #003366;
    border-radius: 0.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.tool-form .tool-input:focus {
    outline: none;
    border-color: #bc264c;
    box-shadow: 0 0 0.25rem rgba(0, 51, 102, 0.25);
}

.clipboard-btn {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #222222;
    transition: color 0.2s;
}

.clipboard-btn:hover {
    color: #003366;
}

.btn-cta {
    background-color: #003366;
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.btn-cta:hover {
    background-color: #bc264c;
    color: #ffffff;
    transform: translateY(-2px);
}

.wiki-download-btn {
    animation: none;
    background-color: #bc264c !important;
    color: #ffffff !important;
    border: none;
}

.wiki-preview-btn {
    background-color: #003366 !important;
    color: #ffffff !important;
    border: none;
}

.wiki-thumbnail {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wiki-thumbnail img {
    max-width: 100%;
    border-radius: 20px;
    height: auto;
    display: block;
}

.wiki-thumbnail .btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.wiki-thumbnail p {
    font-size: 17.6px;
    margin-top: 0.75rem;
    color: #222222;
}

#wiki-tool-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

#wiki-tool-modal .wiki-modal-content {
    position: relative;
    background: #fff;
    padding: 1rem;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#wiki-tool-modal img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

#wiki-tool-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #bc264c;
    border-radius: 50%;
    padding: 0 8px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: #ffffff;
    border: 1px solid #ccc;
}

.share-buttons {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.share-btn {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    transition: transform 0.2s;
}
.share-btn svg {
    width: 48px;
    height: 48px;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.whatsapp:hover {
    opacity: 0.8;
}
.share-btn.facebook:hover {
    opacity: 0.8;
}
.share-btn.twitter:hover {
    opacity: 0.8;
}
.share-btn.email:hover {
    opacity: 0.8;
}
.share-btn.copy-link:hover {
    opacity: 0.8;
}

.how-section {
    padding: 4rem 1rem;
    border-top: 2px solid #003366;
    text-align: center;
}

.how-container {
    margin: 0 auto;
}

.how-title {
    font-size: 36px;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 2rem;
    position: relative;
}

.how-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #bc264c;
    margin: 0.5rem auto 0;
}

.how-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0;
    justify-content: center;
}

@media (min-width: 1200px) {
    .how-steps {
        grid-template-columns: repeat(3, 400px);
    }
}

.how-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px #003366;
    transition: transform 0.3s, box-shadow 0.3s;
}

.how-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px #003366;
}

.how-step-title {
    font-size: 20px;
    color: #222222;
    margin-bottom: 0.5rem;
}

.how-step-desc {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
}

.about-section {
    padding: 4rem 1rem;
    border-top: 2px solid #003366;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    border-left: 4px solid #bc264c;
    border-right: 4px solid #bc264c;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.about-content h1 {
    font-size: 36px;
    margin-bottom: 1rem;
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 1rem;
    text-align: center;
}

.about-content h2 strong {
    color: #003366;
}

.about-content p {
    margin-bottom: 1.25rem;
    font-size: 16px;
    color: #222222;
}

.about-content h3 {
    font-size: 20px;
    margin: 1.5rem 0 1rem;
    position: relative;
}

.about-content h3::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #003366;
    border-radius: 2px;
}

.features-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.features-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 15.6px;
    color: #222222;
}

.features-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #008000;
    font-weight: bold;
}

@media (max-width: 600px) {
    .about-section {
        padding: 3rem 1rem;
    }
    .about-content {
        padding: 1.5rem;
    }
    .about-content h2 {
        font-size: 28px;
    }
    .about-content h3 {
        font-size: 18px;
    }
}

.faq-section {
    color: #222222;
    border-top: 2px solid #003366;
    padding: 4rem 1rem;
}

.faq-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 3rem;
}

.faq-item {
    margin: 0 auto 1.5rem auto;
    max-width: 1200px;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    padding: 1rem 1.5rem;
    background: #003366;
    color: #ffffff;
    font-size: 17.6px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-item summary:hover {
    background: #bc264c;
}

.faq-item summary::marker {
    content: none;
}
.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s;
    margin-left: 1rem;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    content: "–";
}

.faq-answer {
    padding: 1rem 1.5rem;
    font-size: 16px;
    line-height: 1.6;
    background: #ffffff;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer a {
    color: #bc264c;
    text-decoration: none;
}

.faq-answer a:hover {
    color: #003366;
    text-decoration: none;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: #bc264c;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.2s, opacity 0.3s, transform 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
}

#scrollToTopBtn svg {
    width: 2rem;
    height: 2rem;
    transition: transform 0.3s;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    animation: popIn 0.3s ease-out forwards;
}

#scrollToTopBtn:hover {
    background-color: #003366;
}

#scrollToTopBtn.show:hover svg {
    transform: translateY(-4px) rotate(-15deg);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.footer-custom {
    background-color: #000000;
    color: #f1f1f1;
    text-align: center;
    padding: 1rem 1rem;
    font-size: 18px;
}

.footer-custom a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-custom a:hover,
.footer-custom a:focus {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 576px) {
    .footer-custom {
        font-size: 16px;
        padding: 1rem 0.5rem;
    }
}