/* ═══════════════════════════════════════════════════════
   ACCOUNTING SOFTWARE PAGE — DreamSoft
   Theme-consistent with style.css, theme.css & about-us.css
   ═══════════════════════════════════════════════════════ */

/* ── Kicker ── */
.ap-kicker {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #7c3aed;
    /* Reverted to main theme purple for consistency */
    margin-bottom: 12px;
}

/* ── Shared Blobs (Adjusted colors for Accounting theme) ── */
.ap-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.ap-blob--left {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -200px;
    background: rgba(14, 165, 233, 0.12);
}

.ap-blob--right {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -220px;
    background: rgba(16, 185, 129, 0.10);
    /* Emerald for finance */
}

/* ═══════════════════════════════════════════════════════
   SECTION 1 — HERO
   ═══════════════════════════════════════════════════════ */
.ap-hero {
    padding: 80px 0 100px;
}

.ap-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #0f172a;
}

.ap-hero-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 92%;
}

.ap-hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.15);
}

/* ═══════════════════════════════════════════════════════
   SECTION 2 — WHAT IS ACCOUNTING SOFTWARE
   ═══════════════════════════════════════════════════════ */
.ap-what-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.ap-what-section .section-heading {
    margin-bottom: 50px;
}

.ap-what-intro {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.ap-what-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.ap-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ap-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ap-check-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
    margin-top: 2px;
}

.ap-check-list h3 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.ap-check-list p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.ap-cta-inline {
    margin-top: 36px;
}

.ap-what-image {
    position: relative;
    position: sticky;
    top: 120px;
}

.ap-what-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    transition: transform 0.4s ease;
}

.ap-what-img:hover {
    transform: scale(1.02);
}

/* Float Badges */
.ap-float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: ap-float 4s ease-in-out infinite;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.ap-float-badge--top {
    top: -20px;
    right: -20px;
    animation-delay: 0.3s;
}

.ap-float-badge--bottom {
    bottom: 30px;
    left: -30px;
    animation-delay: 1s;
}

@keyframes ap-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.ap-float-badge-icon {
    font-size: 1.4rem;
}

.ap-float-badge-value {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: block;
    line-height: 1.2;
}

.ap-float-badge-label {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

/* ═══════════════════════════════════════════════════════
   SECTION 3 — ADVANTAGES / KEY BENEFITS
   ═══════════════════════════════════════════════════════ */
.ap-advantages-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.ap-advantages-section::before {
    content: '';
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(16, 185, 129, 0.05) 70%, transparent 100%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.ap-advantages-header {
    max-width: 760px;
    margin: 0 auto 50px;
}

.ap-advantages-header .section-heading {
    margin-bottom: 0;
}

.ap-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.ap-advantage-card {
    background: var(--bg-light);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ap-advantage-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.ap-advantage-emoji {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.ap-advantage-card:hover .ap-advantage-emoji {
    transform: scale(1.15);
}

.ap-advantage-card h3 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.ap-advantage-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
}

.ap-cta-center {
    text-align: center;
    margin-top: 45px;
}

/* ═══════════════════════════════════════════════════════
   SECTION 4 — CORE FEATURES
   ═══════════════════════════════════════════════════════ */
.ap-features-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.ap-features-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.ap-features-header .section-heading {
    margin-bottom: 0;
}

.ap-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.ap-feature-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 32px 26px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ap-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at 0% 0%, rgba(14, 165, 233, 0.08), transparent 50%),
        radial-gradient(600px circle at 100% 100%, rgba(16, 185, 129, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.ap-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.ap-feature-card:hover::before {
    opacity: 1;
}

.ap-feature-card-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.10));
    color: #0ea5e9;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 22px -14px rgba(14, 165, 233, 0.5);
    transition: transform 0.3s ease;
}

.ap-feature-card:hover .ap-feature-card-icon {
    transform: scale(1.1);
}

.ap-feature-card h3 {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.ap-feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   SECTION 5 — TAX / COMPLIANCE
   ═══════════════════════════════════════════════════════ */
.ap-tax-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.ap-tax-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ap-tax-content .section-heading {
    margin-bottom: 24px;
}

.ap-tax-text {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 36px;
}

.ap-tax-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ap-tax-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ap-tax-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ap-tax-list p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.ap-tax-list strong {
    color: var(--text-dark);
}

.ap-tax-image {
    position: relative;
}

.ap-tax-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    transition: transform 0.4s ease;
}

.ap-tax-img:hover {
    transform: scale(1.02);
}

/* ═══════════════════════════════════════════════════════
   SECTION 6 — WHY CHOOSE DREAMSOFT
   ═══════════════════════════════════════════════════════ */
.ap-trust-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.ap-trust-header {
    max-width: 760px;
    margin: 0 auto 50px;
}

.ap-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.ap-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease;
}

.ap-trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.ap-trust-icon {
    font-size: 2.2rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.08));
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.ap-trust-item h3 {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.ap-trust-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ap-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    border: 2px solid #cbd5e1;
    background: transparent;
    transition: all 0.3s ease;
}

.ap-btn-outline:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.05);
}

/* ═══════════════════════════════════════════════════════
   SECTION 6.5 — ACCOUNTING SOFTWARE IN BANGLADESH
   ═══════════════════════════════════════════════════════ */
.ap-info-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.ap-info-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ap-info-content .section-heading {
    margin-bottom: 24px;
}

.ap-info-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 32px;
}

.ap-info-block {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.ap-info-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.08));
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px -5px rgba(14, 165, 233, 0.3);
}

.ap-info-block h3 {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.ap-info-text {
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.7;
}

.ap-info-image {
    position: relative;
}

.ap-info-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    transition: transform 0.4s ease;
}

.ap-info-img:hover {
    transform: scale(1.02);
}

/* ═══════════════════════════════════════════════════════
   SECTION 6.75 — BUYER'S GUIDE
   ═══════════════════════════════════════════════════════ */
.ap-guide-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.ap-guide-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ap-guide-content .section-heading {
    margin-bottom: 24px;
}

.ap-guide-intro {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.ap-guide-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ap-guide-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ap-guide-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0ea5e9;
    color: #0ea5e9;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.ap-guide-block h3 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    margin-top: 8px;
}

.ap-guide-text {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.65;
}

.ap-guide-image {
    position: relative;
}

.ap-guide-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    transition: transform 0.4s ease;
}

.ap-guide-img:hover {
    transform: scale(1.02);
}

/* ═══════════════════════════════════════════════════════
   SECTION 7 — FINAL CTA
   ═══════════════════════════════════════════════════════ */
.ap-cta-section {
    background: var(--bg-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #f1f5f9;
}

.ap-cta-section::before {
    content: '';
    position: absolute;
    right: -15%;
    top: -30%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    filter: blur(80px);
    pointer-events: none;
}

.ap-cta-section::after {
    content: '';
    position: absolute;
    left: -10%;
    bottom: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.08);
    filter: blur(80px);
    pointer-events: none;
}

.ap-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.ap-cta-content {
    flex: 1;
    max-width: 600px;
}

.ap-cta-heading {
    color: var(--text-dark);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ap-cta-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ap-cta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ap-cta-list li {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.ap-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ap-btn-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #475569;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    transition: all 0.3s ease;
}

.ap-btn-cta-outline:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px -5px rgba(67, 56, 202, 0.15);
}

/* CTA Visual Ring */
.ap-cta-visual {
    position: relative;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
}

.ap-cta-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(14, 165, 233, 0.15);
}

.ap-cta-ring--outer {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: ap-spin 30s linear infinite;
}

.ap-cta-ring--inner {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: rgba(16, 185, 129, 0.18);
    animation: ap-spin 20s linear infinite reverse;
}

@keyframes ap-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ap-cta-ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.ap-cta-emoji {
    font-size: 2rem;
}

.ap-cta-float {
    position: absolute;
    background: rgba(14, 165, 233, 0.1);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 12px;
    color: #0c8ccc;
    font-weight: 700;
    font-size: 0.82rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
    animation: ap-float 4s ease-in-out infinite;
}

.ap-cta-float--1 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.ap-cta-float--2 {
    bottom: 20px;
    left: 10px;
    animation-delay: 1.3s;
}

.ap-cta-float--3 {
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    animation-delay: 2.6s;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ap-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ap-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ap-info-grid,
    .ap-what-grid,
    .ap-guide-grid,
    .ap-tax-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .ap-hero-title {
        font-size: 2.2rem;
    }

    .ap-what-grid {
        grid-template-columns: 1fr;
    }

    .ap-what-image {
        position: static;
        order: -1;
    }

    .ap-info-grid,
    .ap-guide-grid,
    .ap-tax-grid {
        grid-template-columns: 1fr;
    }

    .ap-trust-grid {
        grid-template-columns: 1fr;
    }

    .ap-cta-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .ap-cta-actions {
        justify-content: center;
    }

    .ap-cta-list {
        text-align: left;
    }

    .ap-cta-visual {
        width: 220px;
        height: 220px;
    }

    .ap-cta-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .ap-hero {
        padding: 60px 0 70px;
    }

    .ap-advantages-grid,
    .ap-features-grid {
        grid-template-columns: 1fr;
    }

    .ap-what-section,
    .ap-advantages-section,
    .ap-features-section,
    .ap-tax-section,
    .ap-trust-section,
    .ap-info-section,
    .ap-guide-section {
        padding: 70px 0;
    }

    .ap-cta-section {
        padding: 60px 0;
    }

    .ap-cta-actions,
    .ap-trust-section .ap-cta-center {
        flex-direction: column;
        width: 100%;
    }

    .ap-cta-actions .btn,
    .ap-trust-section .ap-cta-center .btn,
    .ap-cta-actions .ap-btn-cta-outline {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ap-hero-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .ap-float-badge {
        display: none;
    }

    .ap-cta-visual {
        display: none;
    }
}