/* Abacre Common Styles - Modern Bootstrap 5 Theme */
:root {
    --primary-color: #7a7aa9;
    --primary-light: #9a9ac4;
    --primary-dark: #5a5a85;
    --accent-color: #eb275e;
    --accent-light: #f05a82;
    --accent-dark: #c91e4a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2d2d3a;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

/* Navbar hamburger icon - Abacre purple color */
.navbar-toggler {
    border-color: #7a7aa9;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%237a7aa9' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover {
    background-color: rgba(122, 122, 169, 0.1);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.btn-primary-custom {
    background: var(--accent-color);
    border: none;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(235, 39, 94, 0.4);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-accent-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-accent-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, #f0f2f5 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122, 122, 169, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-title .accent-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: var(--white);
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(122, 122, 169, 0.15);
    border-color: var(--primary-light);
}

.product-card.featured {
    border: 2px solid var(--accent-color);
}

.product-card.featured::before {
    content: 'Best Seller';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.product-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.product-link:hover {
    gap: 0.75rem;
}

.badge-free {
    background: #28a745;
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(235, 39, 94, 0.15);
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-light-custom {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-light-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--text-dark);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 4rem 0;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Category Section */
.category-section {
    padding: 2rem 0 4rem;
}

.category-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-header h3 {
    margin: 0;
    font-weight: 600;
}

.category-header .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

/* Section spacing */
.mb-6 {
    margin-bottom: 4rem;
}

/* Pricing Table */
.pricing-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(122, 122, 169, 0.15);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    position: relative;
}

.pricing-card.featured::after {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.pricing-features li i {
    color: #28a745;
    margin-right: 0.5rem;
}

/* Testimonials */
.testimonial-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-light);
    position: absolute;
    top: 0;
    left: 1rem;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-company {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Screenshot Section */
.screenshot-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.screenshot-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(122, 122, 169, 0.2);
}

.screenshot-container img {
    width: 100%;
    height: auto;
}

/* Feature List */
.feature-list-section {
    padding: 5rem 0;
    background: var(--white);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.feature-list li strong {
    color: var(--text-dark);
}

/* Download Section */
.download-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.download-info {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.download-info i {
    margin-right: 0.5rem;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--light-bg);
    padding: 1rem 0;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Version Info */
.version-info {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.version-info i {
    margin-right: 0.5rem;
}

/* Feature Matrix Table */
.feature-matrix-section {
    padding: 5rem 0;
    background: var(--white);
}

.feature-matrix-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(122, 122, 169, 0.15);
}

.feature-matrix-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1.25rem 1rem;
    font-weight: 600;
    text-align: center;
}

.feature-matrix-table th:first-child {
    text-align: left;
}

.feature-matrix-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.feature-matrix-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.feature-matrix-table tr:last-child td {
    border-bottom: none;
}

.feature-matrix-table tr:hover {
    background: var(--light-bg);
}

.feature-matrix-table .check {
    color: #28a745;
    font-size: 1.25rem;
}

.feature-matrix-table .cross {
    color: #dc3545;
    font-size: 1.25rem;
}

/* Reasons List */
.reasons-section {
    padding: 5rem 0;
    background: var(--white);
}

.reason-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(122, 122, 169, 0.15);
}

.reason-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.reason-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.reason-content p {
    color: var(--text-muted);
    margin: 0;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-light);
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-item p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Purchase Page */
.purchase-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.purchase-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px rgba(122, 122, 169, 0.1);
}

.purchase-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.purchase-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.purchase-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.purchase-table th,
.purchase-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.purchase-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-dark);
}

.purchase-table .text-center {
    text-align: center;
}

.purchase-table .price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.benefits-list li i {
    color: #28a745;
}

/* Volume Pricing */
.volume-pricing-section {
    padding: 3rem 0;
}

.volume-pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px rgba(122, 122, 169, 0.1);
}

.volume-pricing-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.volume-table {
    width: 100%;
    border-collapse: collapse;
}

.volume-table th,
.volume-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.volume-table th {
    font-weight: 600;
    color: var(--text-dark);
}

.volume-table .text-center {
    text-align: center;
}

.volume-table .price {
    font-weight: 700;
    color: var(--accent-color);
}

/* Icon List */
.icon-list {
    list-style: none;
    padding: 0;
}

.icon-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
}

.icon-list li i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

/* CTA Button Group */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Subpage Hero */
.subpage-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 4rem 0;
}

.subpage-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subpage-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* Info Box */
.info-box {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--text-muted);
    margin: 0;
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(122, 122, 169, 0.15);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

/* Download box - white card inside cta-section */
.download-box {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(122, 122, 169, 0.15);
}

/* Pagination - Abacre custom pagination */
.abacre-pagination .page-link {
    color: #7a7aa9 !important;
    border-color: #7a7aa9 !important;
}

.abacre-pagination .page-link:hover {
    background-color: #7a7aa9 !important;
    border-color: #7a7aa9 !important;
    color: #ffffff !important;
}

.abacre-pagination .page-item.active .page-link {
    background-color: #7a7aa9 !important;
    border-color: #7a7aa9 !important;
    color: #ffffff !important;
}

/* News card images - limit size to prevent overflow */
.product-card .col-md-3 img {
    max-width: 100%;
    height: auto;
    display: block;
}

