/* --- Product Page Specific Styles --- */

.section-subtitle {
    max-width: 700px;
}

/* --- Hero Section --- */
.hero-product {
    background-color: var(--bg-light);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-product-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-product-text {
    display: flex;
    flex-direction: column;
}

.hero-product-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.hero-product-title .highlight {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-product-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 95%;
}

.hero-product-visual img {
    border-radius: 2px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease;
}

.hero-product-visual img:hover {
    transform: scale(1.03);
}

.hero-product-cta {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 15px -3px var(--shadow-color);
    max-width: 550px;
}

.cta-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
    flex-shrink: 0;
}

.cta-price .price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.cta-price .price-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.cta-price .price-currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.cta-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.cta-info .phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    direction: ltr;
    text-align: right;
}

.cta-info .phone-number i {
    margin-left: 8px;
}

.features-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Key Features Section --- */
.key-features {
    padding: 100px 0;
    background-color: var(--bg-color);
}

/* --- NEW: Pricing Plans Section --- */
.plans-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.plan-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle 200px at var(--x) var(--y),
            var(--spotlight-color),
            transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease-out;
    z-index: 1;
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.plan-card.popular {
    border: 2px solid var(--gradient-end);
    transform: scale(1.02);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--gradient-end);
    color: white;
    padding: 5px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.plan-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    padding: 0;
    flex-grow: 1;
    margin-bottom: 2rem;
    text-align: right;
}

.plan-features li {
    display: flex;
    gap: 10px;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.plan-features .fa-check {
    color: var(--gradient-end);
}

.plan-link {
    font-weight: 500;
    color: var(--primary-color);
    margin-top: auto;
    z-index: 2;
    /* Push to bottom */
}

.plan-link:hover i {
    transform: translateX(-4px);
}


/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.main-image-container img {
    max-width: 100%;
    height: 400px;
    margin: auto auto 32px auto;
    /* border-radius: var(--border-radius-md); */
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* --- All Features Section --- */
.all-features-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    /* Added for contrast */
}

.features-comparison-table-container {
    overflow-x: auto;
}

.features-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
    font-size: 0.95rem;
}

.features-comparison-table th,
.features-comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.features-comparison-table th:first-child,
.features-comparison-table td:first-child {
    text-align: right;
    font-weight: 500;
}

.features-comparison-table thead {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.features-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.features-comparison-table tbody tr:hover {
    background-color: var(--bg-hover);
}

.features-comparison-table .category-header {
    background-color: var(--bg-hover);
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    font-size: 1.1rem;
}

.features-comparison-table .check i {
    color: var(--gradient-end);
    font-size: 1.2rem;
}

.features-comparison-table .cross i {
    color: #a50000;
    font-size: 1.2rem;
}


/* --- Add-ons Section --- */
.addons-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    /* Swapped for visual rhythm */
}

.addons-table-container {
    overflow-x: auto;
}

.addons-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.addons-table th,
.addons-table td {
    padding: 18px;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
}

.addons-table thead {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.addons-table tbody tr:last-child td {
    border-bottom: none;
}

.addons-table tbody tr:hover {
    background-color: var(--bg-hover);
}

.addons-table td:nth-child(1) {
    font-weight: 500;
    color: var(--text-primary);
}

.addons-table td:nth-child(3) {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gradient-end);
}

/* --- Final CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 15px 35px;
    background-color: #fff;
    color: var(--primary-color);
}

.cta-button:hover {
    background-color: var(--bg-hover);
    color: var(--primary-dark);
}

.cta-button i {
    margin-right: 10px;
}


/* --- Responsive Styles for Product Page --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-product-content {
        grid-template-columns: 1fr;
    }

    .hero-product-visual {
        order: -1;
    }

    .hero-product-text {
        text-align: center;
    }

    .hero-product-subtitle,
    .hero-product-cta {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-product {
        padding: 60px 0;
    }

    .features-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.popular {
        transform: scale(1);
        /* Reset transform on mobile stack */
    }

    .plan-card.popular:hover {
        transform: translateY(-10px);
        /* Keep hover effect */
    }

    .hero-product-title {
        font-size: 2.5rem;
    }

    .hero-product-cta {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .cta-price {
        border-left: none;
        border-bottom: 2px solid var(--border-color);
        padding: 0 0 20px 0;
        align-items: center;
        width: 100%;
    }

    .addons-table thead {
        display: none;
    }

    .addons-table,
    .addons-table tbody,
    .addons-table tr,
    .addons-table td {
        display: block;
        width: 100%;
    }

    .addons-table tr {
        border-bottom: 2px solid var(--border-color);
    }

    .addons-table tr:last-child {
        border-bottom: none;
    }

    .addons-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid var(--border-color);
    }

    .addons-table td:last-child {
        border-bottom: none;
    }

    .addons-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        font-weight: 700;
        color: var(--text-primary);
        text-align: right;
    }
}

@media (max-width: 576px) {
    .hero-product-title {
        font-size: 2.2rem;
    }

    .cta-price .price-value {
        font-size: 2rem;
    }

    .cta-info .phone-number {
        font-size: 1.3rem;
    }
}