/* ===== Internal Pages – Shared Styles ===== */

/* Page hero banner */
.page-hero {
    padding: 10rem 5% 4rem;
    background: var(--gradient);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Page sections */
.page-section {
    padding: 5rem 5%;
}

.page-section:nth-child(even) {
    background: var(--light);
}

.page-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Icon cards (About, Features) */
.icon-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.icon-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.icon-card .card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    color: #fff;
}

.icon-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.icon-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Content blocks (About, Privacy) */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-block p,
.content-block ul {
    color: #555;
    line-height: 1.85;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.content-block ul {
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* ===== Pricing cards ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(106, 17, 203, 0.15);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.98rem;
}

.pricing-card li i {
    margin-right: 0.6rem;
    color: var(--secondary);
}

/* ===== FAQ accordion ===== */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 1.8rem;
    color: #555;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.8rem 1.4rem;
}

/* ===== Blog cards ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-img {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
}

.blog-card-body {
    padding: 1.8rem;
}

.blog-card-body .blog-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.blog-card-body h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card-body p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.blog-card-body .read-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-card-body .read-link:hover {
    color: var(--secondary);
}

/* ===== Contact page ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-6px);
}

.contact-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: #fff;
}

.contact-card h4 {
    color: var(--dark);
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
}

.contact-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 380px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 380px;
}

.contact-form-box {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

/* CTA banner */
.cta-banner {
    padding: 4rem 5%;
    background: var(--gradient);
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}

.cta-banner p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-white-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-white-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .contact-form-wrap {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 5% 3rem;
    }

    .icon-cards {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    /* Mobile text spacing fix for internal pages */
    .icon-card {
        padding: 1.5rem;
    }

    .icon-card p,
    .content-block p,
    .content-block li,
    .blog-card-body p {
        text-align: left !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
        line-height: 1.65;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card li {
        font-size: 0.9rem;
    }
}