/* ===== TallyPrime Gold Page Styles ===== */

/* FAQ Overrides */
.faq-title h2::before {
    background: #0044a8;
}

.faq .card .card-header .faq-title .badge {
    background: #0044a8;
}

.tss-card-heading {
    font-size: 2.1rem;
    margin-bottom: 1rem;
}

/* ===== Difference Section - Row Gap Fix ===== */
.difference-section .row {
    row-gap: 24px;
}

/* ===== Gold Why Section - Premium Redesign ===== */
.gold-why-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8f9fc 0%, #eef1f8 100%);
    position: relative;
    overflow: hidden;
}

.gold-why-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.gold-why-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.gold-why-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.gold-why-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 16px;
}

.gold-why-intro {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid */
.gold-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Make the last (5th) card span full width and center it */
.gold-why-grid .gold-why-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
    width: 100%;
}

/* Card */
.gold-why-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.gold-why-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--card-accent, #000000ff);
    border-radius: 4px 0 0 4px;
    transition: width 0.3s ease;
}

/* .gold-why-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
	border-color: transparent;
} */

.gold-why-card:hover::before {
    width: 6px;
}

/* Number */
.gold-why-card-number {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 56px;
    font-weight: 900;
    color: var(--card-accent, #000000ff);
    opacity: 0.07;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Icon */
.gold-why-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--card-accent, #000103ff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.gold-why-card:hover .gold-why-card-icon {
    transform: scale(1.08);
}

.gold-why-card-icon i {
    font-size: 22px;
    color: #ffffff;
}

/* Content */
.gold-why-card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.gold-why-card-heading {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.gold-why-card-text {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* Animations */
@keyframes goldCardFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gold-why-card {
    animation: goldCardFadeUp 0.6s ease-out both;
}

.gold-why-card:nth-child(1) {
    animation-delay: 0.05s;
}

.gold-why-card:nth-child(2) {
    animation-delay: 0.15s;
}

.gold-why-card:nth-child(3) {
    animation-delay: 0.25s;
}

.gold-why-card:nth-child(4) {
    animation-delay: 0.35s;
}

.gold-why-card:nth-child(5) {
    animation-delay: 0.45s;
}

/* Responsive */
@media (max-width: 991px) {
    .gold-why-grid {
        grid-template-columns: 1fr;
    }

    .gold-why-grid .gold-why-card:last-child {
        max-width: 100%;
    }

    .gold-why-title {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .gold-why-section {
        padding: 40px 0;
    }

    .gold-why-card {
        padding: 24px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gold-why-card-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 12px;
    }

    .gold-why-card-icon i {
        font-size: 20px;
    }

    .gold-why-card-number {
        font-size: 44px;
    }

    .gold-why-card-heading {
        font-size: 17px;
    }

    .gold-why-title {
        font-size: 22px;
    }

    .gold-why-intro {
        font-size: 14px;
    }
}

/* ===== Gold Features Section - Blue & Yellow Theme ===== */
.gold-features-section {
    padding: 60px 0;
    background: #071b31;
}

.gold-features-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
}

.gold-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.gold-features-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.gold-features-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.gold-features-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.gold-features-icon i {
    font-size: 13px;
    color: #071b31;
}

.gold-features-item h6 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.gold-features-item p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .gold-features-list {
        grid-template-columns: 1fr;
    }

    .gold-features-item:last-child {
        border-bottom: none;
    }

    .gold-features-title {
        font-size: 22px;
    }

    .gold-features-section {
        padding: 40px 0;
    }
}

/* ===== Gold Download Section - Timeline ===== */
.gold-download-section {
    padding: 60px 0;
    background: #ffffff;
}

.gold-download-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0;
}

.gold-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 50px;
}

.gold-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.gold-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    padding-bottom: 36px;
}

.gold-timeline-item:last-child {
    padding-bottom: 0;
}

.gold-timeline-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    position: absolute;
    left: -50px;
    top: 0;
    z-index: 1;
}

.gold-timeline-content h6 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
    padding-top: 6px;
}

.gold-timeline-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 576px) {
    .gold-download-section {
        padding: 40px 0;
    }

    .gold-download-title {
        font-size: 22px;
    }

    .gold-timeline {
        padding-left: 45px;
    }

    .gold-timeline::before {
        left: 14px;
    }

    .gold-timeline-num {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 13px;
        left: -45px;
    }
}