/* eSITE Marketing Pages - Additional Styles */
/* Extends about.css variables and patterns */

/* ===== Shared Section Styles ===== */
.marketing-section {
    padding: 4rem 0;
}

.marketing-section:nth-child(even) {
    background: #f8f6f3;
}

.marketing-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--esite-brown);
    margin-bottom: 1rem;
    text-align: center;
}

.marketing-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Pricing Cards ===== */
.pricing-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    box-shadow: 0 2px 16px rgba(99, 75, 50, 0.08);
    border: 2px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(99, 75, 50, 0.15);
}

.pricing-card.featured {
    border-color: var(--esite-gold);
    transform: scale(1.04);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--esite-gold);
    color: #fff;
    padding: 0.35rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card .plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--esite-brown);
    margin-bottom: 0.5rem;
}

.pricing-card .plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--esite-brown-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-card .plan-price .currency {
    font-size: 1.4rem;
    vertical-align: super;
    font-weight: 600;
}

.pricing-card .plan-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.pricing-card .plan-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

.pricing-card .plan-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-card .plan-features li i {
    color: var(--esite-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-card .plan-features li.not-included {
    color: #bbb;
    text-decoration: line-through;
}

.pricing-card .plan-features li.not-included i {
    color: #ddd;
}

.pricing-card .btn-plan {
    display: block;
    width: 100%;
    padding: 0.85rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-plan-primary {
    background: var(--esite-gold);
    color: #fff;
    border: none;
}

.btn-plan-primary:hover {
    background: var(--esite-gold-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(195, 145, 68, 0.35);
}

.btn-plan-outline {
    background: transparent;
    color: var(--esite-brown);
    border: 2px solid var(--esite-brown);
}

.btn-plan-outline:hover {
    background: var(--esite-brown);
    color: #fff;
    text-decoration: none;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 0.85rem 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: var(--esite-brown);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--esite-brown);
}

.comparison-table tr:hover {
    background: #faf7f3;
}

.comparison-table .check {
    color: var(--esite-gold);
    font-size: 1.1rem;
}

.comparison-table .dash {
    color: #ddd;
}

/* ===== Feature Grid ===== */
.feature-stage {
    padding: 3rem 0;
}

.feature-stage:nth-child(even) {
    background: #f8f6f3;
}

.feature-stage-content {
    max-width: 900px;
    margin: 0 auto;
}

.feature-stage-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-stage-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--esite-gold) 0%, var(--esite-gold-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feature-stage-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--esite-brown);
    margin: 0;
}

.feature-stage-header .stage-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--esite-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.feature-stage p.stage-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: #555;
}

.feature-list-item i {
    color: var(--esite-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Client Portal Features */
.client-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.client-feature-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 75, 50, 0.06);
    border-left: 4px solid var(--esite-gold);
}

.client-feature-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--esite-brown);
    margin-bottom: 0.5rem;
}

.client-feature-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== Legal Pages ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--esite-brown);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--esite-brown-light);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-meta {
    background: #f8f6f3;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #888;
}

.legal-meta strong {
    color: var(--esite-brown);
}

/* ===== FAQ Accordion ===== */
.faq-section {
    margin-bottom: 2.5rem;
}

.faq-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--esite-brown);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--esite-gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-section-title i {
    color: var(--esite-gold);
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(99, 75, 50, 0.08);
}

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--esite-brown);
    background: #fff;
    transition: background 0.2s ease;
    user-select: none;
}

.faq-question:hover {
    background: #faf7f3;
}

.faq-question .faq-toggle {
    font-size: 1.2rem;
    color: var(--esite-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ===== Contact Form ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--esite-brown);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.contact-form .form-control {
    border: 2px solid #e0d8ce;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: var(--esite-gold);
    box-shadow: 0 0 0 3px rgba(195, 145, 68, 0.15);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-submit {
    background: var(--esite-gold);
    color: #fff;
    border: none;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-form .btn-submit:hover {
    background: var(--esite-gold-dark);
    box-shadow: 0 6px 20px rgba(195, 145, 68, 0.35);
}

.contact-info {
    padding-top: 0.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--esite-gold) 0%, var(--esite-gold-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--esite-brown);
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-info-item a {
    color: var(--esite-gold-dark);
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--esite-gold);
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature-stage-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }

    .faq-answer-inner {
        padding: 0 1rem 1rem;
    }

    .client-features-grid {
        grid-template-columns: 1fr;
    }
}
