/* =========================
   PRICING HERO
========================= */

.pricing-hero {
    min-height: 55vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 80px 8%;

    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.88),
            rgba(30, 30, 30, 0.72)
        ),
        url("images/pricing-banner.jpg");

    background-size: cover;
    background-position: center;

    color: #fff;
}

.pricing-hero-content {
    max-width: 850px;
}

.pricing-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.pricing-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    margin: 20px 0;
}

.pricing-hero p {
    max-width: 650px;
    margin: auto;

    font-size: 18px;
    line-height: 1.8;
}


/* =========================
   GENERAL HEADINGS
========================= */

.pricing-heading,
.addons-heading,
.comparison-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.pricing-heading h2,
.addons-heading h2,
.comparison-heading h2 {
    font-size: 42px;
    margin: 15px 0;
}

.pricing-heading p,
.addons-heading p {
    line-height: 1.8;
}


/* =========================
   PRICING
========================= */

.pricing-section {
    padding: 110px 7%;
}

.pricing-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    align-items: stretch;
}

.pricing-card {
    position: relative;

    padding: 40px 32px;

    border: 1px solid #ddd;
    border-radius: 12px;

    display: flex;
    flex-direction: column;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    transform: translateY(-18px);
}

.pricing-card.featured:hover {
    transform: translateY(-25px);
}

.popular-badge {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translate(-50%, -50%);

    padding: 8px 18px;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.card-top h3 {
    font-size: 25px;
    margin: 15px 0 10px;
}

.card-top p {
    line-height: 1.7;
    min-height: 75px;
}

.price {
    margin-top: 30px;

    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.price strong {
    font-size: 42px;
    line-height: 1;
}

.currency {
    font-size: 14px;
    font-weight: 600;
}

.price-note {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 7px;
}

.features {
    list-style: none;
    padding: 25px 0;
    margin: 20px 0;

    border-top: 1px solid #ddd;

    display: flex;
    flex-direction: column;
    gap: 15px;

    flex: 1;
}

.features li {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
}

.features i {
    font-size: 18px;
}

.pricing-btn {
    display: block;

    width: 100%;

    padding: 14px;

    text-align: center;
    text-decoration: none;

    border: 1px solid currentColor;
    border-radius: 5px;

    font-weight: 600;

    transition: 0.3s ease;
}

.pricing-btn:hover {
    transform: translateY(-3px);
}


/* =========================
   ADD-ONS
========================= */

.addons-section {
    padding: 110px 7%;
}

.addons-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.addon {
    padding: 35px 25px;

    text-align: center;

    border-radius: 10px;

    transition: 0.3s ease;
}

.addon:hover {
    transform: translateY(-7px);
}

.addon i {
    font-size: 32px;
}

.addon h3 {
    margin: 18px 0 10px;
}

.addon p {
    line-height: 1.7;
    font-size: 14px;
}


/* =========================
   COMPARISON
========================= */

.comparison-section {
    padding: 110px 7%;
}

.comparison-table-wrapper {
    max-width: 1100px;
    margin: auto;

    overflow-x: auto;
}

.comparison-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;

    text-align: center;

    border-bottom: 1px solid #ddd;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table th {
    font-size: 14px;
    letter-spacing: 1px;
}

.comparison-table td {
    font-size: 14px;
}


/* =========================
   CUSTOM PLAN
========================= */

.custom-pricing {
    padding: 110px 7%;

    text-align: center;
}

.custom-content {
    max-width: 800px;
    margin: auto;
}

.custom-content h2 {
    font-size: 45px;
    margin: 15px 0;
}

.custom-content p {
    line-height: 1.8;
}

.custom-actions {
    display: flex;
    justify-content: center;
    gap: 15px;

    margin-top: 30px;
}

.custom-btn {
    padding: 14px 25px;

    border-radius: 5px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}

.custom-btn:hover {
    transform: translateY(-3px);
}

.custom-btn.secondary {
    background: transparent;
    border: 1px solid currentColor;
}


/* =========================
   FAQ
========================= */

.pricing-faq {
    padding: 110px 7%;
}

.faq-list {
    max-width: 850px;
    margin: auto;
}

.faq-list details {
    border-bottom: 1px solid #ddd;
}

.faq-list summary {
    padding: 22px 5px;

    cursor: pointer;

    list-style: none;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    font-size: 22px;

    transition: transform 0.3s ease;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list p {
    padding: 0 5px 22px;

    line-height: 1.8;
}

/* PRICING REVEAL */

.pricing-reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.pricing-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   WHITE FOOTER
========================= */

.white-footer {
    background: #fff;
    color: #222;

    padding: 80px 8% 0;

    border-top: 1px solid #e8e8e8;
}


/* MAIN FOOTER */

.white-footer-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;

    gap: 60px;
}


/* BRAND */

.footer-brand h2 {
    font-size: 27px;
    margin: 0 0 18px;
}

.footer-brand p {
    max-width: 360px;

    color: #666;

    line-height: 1.8;

    margin: 0;
}


/* FOOTER HEADINGS */

.white-footer-column h3 {
    font-size: 17px;

    margin: 0 0 20px;

    font-weight: 700;
}


/* LINKS */

.white-footer-column ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.white-footer-column li {
    margin-bottom: 13px;
}

.white-footer-column a {
    color: #666;

    text-decoration: none;

    font-size: 14px;

    transition: 0.3s ease;
}

.white-footer-column a:hover {
    color: #111;

    padding-left: 5px;
}


/* SOCIAL ICONS */

.white-footer-socials {
    display: flex;

    gap: 10px;

    margin-top: 25px;
}

.white-footer-socials a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ddd;

    border-radius: 50%;

    color: #333;

    text-decoration: none;

    transition: 0.3s ease;
}

.white-footer-socials a:hover {
    background: #111;
    color: #fff;

    border-color: #111;

    transform: translateY(-4px);
}


/* CONTACT */

.footer-contact li {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-contact i {
    font-size: 19px;
    color: #444;
}

.footer-contact a {
    padding: 0 !important;
}


/* BOTTOM */

.white-footer-bottom {
    max-width: 1200px;

    margin: 60px auto 0;

    padding: 25px 0;

    border-top: 1px solid #e5e5e5;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.white-footer-bottom p {
    margin: 0;

    color: #777;

    font-size: 13px;
}

.footer-legal {
    display: flex;

    gap: 25px;
}

.footer-legal a {
    color: #777;

    text-decoration: none;

    font-size: 13px;

    transition: 0.3s ease;
}

.footer-legal a:hover {
    color: #111;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {

    .white-footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

}


@media (max-width: 600px) {

    .white-footer {
        padding: 60px 6% 0;
    }

    .white-footer-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .white-footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        margin-top: 40px;
    }

    .footer-legal {
        flex-direction: column;

        gap: 10px;
    }

}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    .pricing-card.featured,
    .pricing-card.featured:hover {
        transform: none;
    }

    .addons-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .pricing-section,
    .addons-section,
    .comparison-section,
    .custom-pricing,
    .pricing-faq {
        padding: 75px 6%;
    }

    .pricing-heading h2,
    .addons-heading h2,
    .comparison-heading h2 {
        font-size: 34px;
    }

    .pricing-hero h1 {
        font-size: 42px;
    }

    .addons-grid {
        grid-template-columns: 1fr;
    }

    .custom-content h2 {
        font-size: 34px;
    }

    .custom-actions {
        flex-direction: column;
    }

}



/* =========================================
   PAGE PRELOADER
   ========================================= */

.page-preloader {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #050505;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}


/* =========================================
   PRELOADER CONTENT
   ========================================= */

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    animation: preloaderReveal 0.8s ease;
}


/* =========================================
   LOGO
   ========================================= */

.preloader-logo {
    width: 130px;
    max-width: 40vw;
    height: auto;

    object-fit: contain;

    animation: logoPulse 1.5s ease-in-out infinite;
}


/* =========================================
   LOADING LINE
   ========================================= */

.preloader-loader {
    width: 100px;
    height: 2px;

    margin-top: 30px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.15);
}


.preloader-loader span {
    display: block;

    width: 40%;
    height: 100%;

    background: #ffffff;

    animation: loadingLine 1.2s ease-in-out infinite;
}


/* =========================================
   LOADING ANIMATIONS
   ========================================= */

@keyframes logoPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(0.97);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes loadingLine {

    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(250%);
    }

}


@keyframes preloaderReveal {

    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================
   HIDE PRELOADER
   ========================================= */

.page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .preloader-logo,
    .preloader-loader span,
    .preloader-content {
        animation: none;
    }

}
