/* =========================================
   Product Page Styles (BAS KUP)
   ========================================= */

/* Hero Section Override */
.product-hero {
    min-height: auto;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.hero__grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero__orb--1 {
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: #2b5af4;
    /* Primary Accent */
}

.hero__orb--2 {
    bottom: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: #ff5000;
    /* Orange Accent */
    opacity: 0.2;
}

.product-hero__price-box {
    margin: 32px 0;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.product-hero__price {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.product-hero__price span {
    font-size: 24px;
    font-weight: 500;
    opacity: 0.8;
}

.product-hero__old-price {
    font-size: 24px;
    color: #94a3b8;
    text-decoration: line-through;
}

.hero-product-image {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.product-about-card {
    max-width: 1170px;
    margin: 0 auto;
    text-align: left;
}

#about-product .section__subtitle {
    font-size: 18px;
    margin-bottom: 24px;
    text-align: left;
    max-width: none;
}

.about-text-v2 {
    font-size: 18px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
}

/* Advantages Section V2 (match screenshot) */
.advantages-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .advantages-grid-v2 {
        grid-template-columns: 1fr;
    }
}

.advantage-card-v2 {
    background: white;
    padding: 32px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.advantage-card-v2:hover {
    box-shadow: 0 20px 25px -5px rgba(255, 80, 0, 0.05);
    transform: translateY(-4px);
    border-color: rgba(255, 80, 0, 0.2);
}

.advantage-icon-v2 {
    width: 48px;
    height: 48px;
    background: #fff5f0;
    color: #ff5000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon-v2 svg {
    width: 24px;
    height: 24px;
}

.advantage-content-v2 {
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
}

/* Comparison Bar (Accordion Trigger) */
.comparison-toggle-bar {
    width: 100%;
    background: white;
    border-radius: 16px;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
}

.comparison-toggle-bar:hover {
    background: #fff5f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 80, 0, 0.1);
}

.comparison-toggle-bar span {
    font-size: 16px;
    font-weight: 700;
    color: #475569;
}

.comparison-toggle-bar .arrow-icon {
    width: 24px;
    height: 24px;
    color: #ff5000;
    transition: transform 0.3s ease;
}

.comparison-toggle-bar.active .arrow-icon {
    transform: rotate(180deg);
}

.comparison-dropdown {
    display: none;
    margin-top: 16px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.comparison-dropdown.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.advantage-card-v2 h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    width: 100%;
}

.advantage-card-v2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-card-v2 ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #475569;
}

.advantage-card-v2 ul li::before {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff5000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Included Services Grid */
.included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .included-grid {
        grid-template-columns: 1fr;
    }
}

.included-service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 28px 32px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.included-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 80, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.included-service-card:hover {
    border-color: rgba(255, 80, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(255, 80, 0, 0.15);
}

.included-service-card:hover::before {
    opacity: 1;
}

.check-circle {
    width: 44px;
    height: 44px;
    background: #fff5f0;
    color: #ff5000;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 80, 0, 0.1);
}

.included-service-card:hover .check-circle {
    background: #ff5000;
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-label {
    font-weight: 600;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.included-service-card:hover .service-label {
    color: #ff5000;
}


/* FAQ styles moved to: components/faq.css */

/* Comparison Table */
.comparison-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    text-align: center;
    padding: 16px;
    font-size: 16px;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table th:first-child {
    text-align: left;
    color: #0f172a;
}

.th-orange {
    color: #ff5000 !important;
}

.th-highlight {
    color: #0f172a !important;
    background-color: #f1f5f9;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    color: #475569;
}

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

.col-highlight {
    background-color: #f8fafc;
    font-weight: 600;
}

.icon-check {
    width: 20px;
    height: 20px;
    color: #22c55e;
}

.icon-cross {
    width: 20px;
    height: 20px;
    color: #cbd5e1;
}

/* Partial indicator (±) in comparison tables */
.comparison-table__partial {
    color: #f59e0b;
    /* Amber - partially supported */
    font-weight: 700;
    font-size: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}


/* Pricing card styles moved to: components/ pricing-cards.css */

/* Price "from" display (smaller, secondary; replaces inline styles) */
.pricing-card__price-from {
    font-size: 18px;
    color: #64748b;
    /* Text tertiary */
    margin-bottom: 16px;
}

/* =========================================
   Services Included Section
   Презентабельний дизайн для"При покупці отримуєте"
   ========================================= */

.services-included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-included-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #f1f5f9;
}

.service-included-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
    border-color: rgba(255, 80, 0, 0.2);
}

/* Icon Container */
.service-included-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-included-icon svg {
    color: white;
}

/* Icon Color Variants (як на головній) */
.service-included-icon--emerald {
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
}

.service-included-icon--blue {
    background: linear-gradient(135deg, #ff5000 0%, #ea580c 100%);
}

.service-included-icon--violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #9333ea 100%);
}

.service-included-icon--cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #f97316 100%);
}

.service-included-icon--orange {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

.service-included-icon--pink {
    background: linear-gradient(135deg, #ec4899 0%, #e11d48 100%);
}

.service-included-icon--amber {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

/* Title */
.service-included-title {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

/* Description */
.service-included-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-included-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .services-included-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-included-card {
        padding: 24px 20px;
    }

    .service-included-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .service-included-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-included-title {
        font-size: 16px;
    }

    .service-included-desc {
        font-size: 13px;
    }
}