/* ============================================
   Дай парсер! - Pages Styles
   Styles for service pages
   ============================================ */

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > .nav-link i {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 25px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs i {
    font-size: 0.7rem;
}

.breadcrumbs span {
    color: var(--white);
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Different hero backgrounds for pages */
.page-hero-katalogi { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%); }
.page-hero-realty { background: linear-gradient(135deg, #0f172a 0%, #134e4a 50%, #0d9488 100%); }
.page-hero-monitoring { background: linear-gradient(135deg, #0f172a 0%, #4c1d95 50%, #7c3aed 100%); }
.page-hero-social { background: linear-gradient(135deg, #0f172a 0%, #831843 50%, #db2777 100%); }
.page-hero-tenders { background: linear-gradient(135deg, #0f172a 0%, #7c2d12 50%, #ea580c 100%); }

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-hero-title i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.page-hero-stats {
    display: flex;
    gap: 50px;
}

.page-hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* Page Section */
.page-section {
    padding: 80px 0;
}

.section-gray {
    background: var(--gray-50);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.platform-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all var(--transition);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.platform-logo.wildberries { background: linear-gradient(135deg, #cb11ab 0%, #7b2d8e 100%); }
.platform-logo.ozon { background: linear-gradient(135deg, #005bff 0%, #003d99 100%); }
.platform-logo.yandex { background: linear-gradient(135deg, #fc3f1d 0%, #cc3218 100%); }
.platform-logo.aliexpress { background: linear-gradient(135deg, #ff4747 0%, #cc3939 100%); }
.platform-logo.lamoda { background: linear-gradient(135deg, #000000 0%, #333333 100%); }
.platform-logo.twogis { background: linear-gradient(135deg, #57ba47 0%, #2f8524 100%); }
.platform-logo.google { background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%); }
.platform-logo.yellow { background: linear-gradient(135deg, #ffd700 0%, #cc9900 100%); }
.platform-logo.industry { background: linear-gradient(135deg, #6b7280 0%, #374151 100%); }
.platform-logo.cian { background: linear-gradient(135deg, #0468ff 0%, #003380 100%); }
.platform-logo.avito { background: linear-gradient(135deg, #00aaff 0%, #0077cc 100%); }
.platform-logo.domclick { background: linear-gradient(135deg, #21a038 0%, #168a2a 100%); }
.platform-logo.realty { background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%); }
.platform-logo.other { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }

.platform-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.platform-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Use Cases Grid */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.usecase-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.usecase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.usecase-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
}

.usecase-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
}

.usecase-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    position: relative;
}

/* Pricing Table */
.pricing-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-header-row {
    background: var(--dark);
}

.pricing-header-row .pricing-cell {
    color: var(--white);
    font-weight: 600;
}

.pricing-cell {
    padding: 18px 25px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.pricing-cell.price {
    font-weight: 700;
    color: var(--primary);
}

/* Alternative Pricing Cards */
.pricing-cards-alt {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card-alt {
    background: var(--white);
    padding: 40px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-100);
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.pricing-card-alt:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card-alt.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card-alt.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card-alt .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card-alt h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}

.pricing-card-alt ul {
    text-align: left;
    margin-bottom: 25px;
}

.pricing-card-alt ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-card-alt ul li:last-child {
    border-bottom: none;
}

.pricing-card-alt ul li i {
    color: var(--secondary);
}

/* Page CTA */
.page-cta {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.page-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.page-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Property Types */
.property-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.property-type {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--dark);
    transition: all var(--transition);
}

.property-type:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.property-type i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Monitoring Flow */
.monitoring-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    max-width: 200px;
}

.flow-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: var(--shadow-primary);
}

.flow-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.flow-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.flow-arrow {
    color: var(--gray-300);
    font-size: 1.5rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.benefit-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Notification Types */
.notification-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.notification-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition);
}

.notification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.notification-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.notification-icon.telegram { background: #0088cc; }
.notification-icon.email { background: var(--primary); }
.notification-icon.excel { background: #217346; }
.notification-icon.api { background: var(--dark); }

.notification-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.notification-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Social Platforms */
.social-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.social-platform-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    display: flex;
    gap: 25px;
    transition: all var(--transition);
}

.social-platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
}

.social-platform-card.vk .social-icon { background: #4a76a8; }
.social-platform-card.telegram .social-icon { background: #0088cc; }
.social-platform-card.instagram .social-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-platform-card.ok .social-icon { background: #ee8208; }

.social-platform-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.social-platform-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-platform-card ul li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding-left: 15px;
    position: relative;
}

.social-platform-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Notice Box */
.notice-box {
    display: flex;
    gap: 25px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.notice-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: 50%;
    flex-shrink: 0;
}

.notice-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.notice-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.notice-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Tender Platforms */
.tender-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tender-platform {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.tender-platform:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.tender-platform-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}

.tender-platform-icon.gov { background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%); }
.tender-platform-icon.sber { background: linear-gradient(135deg, #21a038 0%, #168a2a 100%); }
.tender-platform-icon.rts { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.tender-platform-icon.roseltorg { background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%); }
.tender-platform-icon.commercial { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.tender-platform-icon.other { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }

.tender-platform-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.tender-platform-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Monitoring Features */
.monitoring-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.monitoring-feature {
    display: flex;
    gap: 25px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.monitoring-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.monitoring-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.monitoring-feature-icon i {
    font-size: 1.4rem;
    color: var(--white);
}

.monitoring-feature-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.monitoring-feature-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platforms-grid,
    .usecases-grid,
    .pricing-cards-alt,
    .notification-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-platforms,
    .tender-platforms,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-alt.featured {
        transform: none;
    }
    
    .pricing-card-alt.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero-title {
        font-size: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .page-hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .features-grid,
    .platforms-grid,
    .usecases-grid,
    .pricing-cards-alt,
    .notification-types {
        grid-template-columns: 1fr;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-header-row {
        display: none;
    }
    
    .pricing-cell {
        padding: 12px 20px;
    }
    
    .pricing-cell:first-child {
        background: var(--gray-50);
        font-weight: 600;
    }
    
    .monitoring-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .social-platform-card {
        flex-direction: column;
        text-align: center;
    }
    
    .social-platform-card ul {
        align-items: center;
    }
    
    .notice-box {
        flex-direction: column;
        text-align: center;
    }
    
    .monitoring-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-card {
        flex-direction: column;
        text-align: center;
    }
    
    .tender-platform {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 10px 0 10px 20px;
    }
    
    .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.7);
        padding: 8px 0;
    }
    
    .dropdown-menu li a:hover {
        background: transparent;
        color: var(--white);
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}
