/* Products Page Styles */

/* Hero Section */
.products-hero {
    background: linear-gradient(135deg, #0b1460 0%, #2a3baa 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.products-hero .container {
    position: relative;
    z-index: 1;
}

.products-hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.products-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

.products-hero .hero-cta .btn {
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 12px 30px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.products-hero .hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.products-hero .hero-cta .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Product Section */
.product-section {
    padding: 100px 0;
    position: relative;
}

.product-section:nth-child(even) {
    background-color: #f8f9fa;
}

.product-section .section-title {
    margin-bottom: 3rem;
    position: relative;
}

.product-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

.product-section .section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Product Showcase */
.product-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.product-showcase:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.product-showcase:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-showcase:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 2rem;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feature-icon {
    min-width: 24px;
    color: #2a3baa;
    margin-right: 10px;
    font-size: 1rem;
}

.feature-text {
    font-size: 1rem;
    color: #555;
}

.product-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-cta .btn {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.product-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-cta .btn-primary {
    background: linear-gradient(135deg, #2a3baa 0%, #4c5fd7 100%);
    border: none;
}

.product-cta .btn-outline-primary {
    color: #2a3baa;
    border-color: #2a3baa;
}

.product-cta .btn-outline-primary:hover {
    background-color: #2a3baa;
    color: #fff;
}

/* Product Screenshots */
.product-screenshots {
    margin-top: 3rem;
}

.screenshot-carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.screenshot-carousel .carousel-item {
    height: 400px;
    background-color: #f8f9fa;
}

.screenshot-carousel img {
    height: 100%;
    object-fit: cover;
}

.screenshot-carousel .carousel-control-prev,
.screenshot-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.screenshot-carousel:hover .carousel-control-prev,
.screenshot-carousel:hover .carousel-control-next {
    opacity: 1;
}

.screenshot-carousel .carousel-control-prev {
    left: 20px;
}

.screenshot-carousel .carousel-control-next {
    right: 20px;
}

.screenshot-carousel .carousel-control-prev-icon,
.screenshot-carousel .carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

/* Product Testimonials */
.product-testimonials {
    margin-top: 4rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 1rem 0.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(42, 59, 170, 0.1);
    position: absolute;
    top: -2rem;
    left: -1rem;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 0.5rem;
}

/* Product Pricing */
.product-pricing {
    margin-top: 4rem;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid #2a3baa;
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #2a3baa;
    color: #fff;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #2a3baa;
    margin-bottom: 1rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.pricing-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.pricing-features li i {
    color: #2a3baa;
    margin-right: 10px;
}

.pricing-features li.disabled {
    color: #aaa;
}

.pricing-features li.disabled i {
    color: #ddd;
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .btn {
    padding: 10px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pricing-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2a3baa 0%, #ff6b6b 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    margin-top: 100px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    padding: 12px 30px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Product Tabs */
.product-tabs {
    margin-top: 3rem;
}

.nav-tabs {
    border: none;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav-tabs .nav-item {
    margin: 0;
}

.nav-tabs .nav-link {
    border: none;
    background-color: #f8f9fa;
    color: #555;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: #e9ecef;
}

.nav-tabs .nav-link.active {
    background-color: #2a3baa;
    color: #fff;
}

.tab-content {
    padding: 2rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 3D Product Display */
.product-3d-container {
    height: 400px;
    position: relative;
    perspective: 1000px;
    margin: 3rem 0;
}

.product-3d {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 1s ease;
}

.product-3d img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    backface-visibility: hidden;
}

.product-3d img:nth-child(2) {
    transform: rotateY(180deg);
}

.product-3d-container:hover .product-3d {
    transform: rotateY(180deg);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .products-hero h1 {
        font-size: 3rem;
    }
    
    .product-section .section-title h2 {
        font-size: 2.2rem;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .products-hero {
        padding: 100px 0 80px;
    }
    
    .products-hero h1 {
        font-size: 2.5rem;
    }
    
    .product-section {
        padding: 80px 0;
    }
    
    .product-section .section-title h2 {
        font-size: 2rem;
    }
    
    .screenshot-carousel .carousel-item {
        height: 300px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .products-hero {
        padding: 80px 0 60px;
    }
    
    .products-hero h1 {
        font-size: 2.2rem;
    }
    
    .products-hero p {
        font-size: 1.1rem;
    }
    
    .product-section {
        padding: 60px 0;
    }
    
    .product-section .section-title h2 {
        font-size: 1.8rem;
    }
    
    .product-section .section-title p {
        font-size: 1rem;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
    
    .screenshot-carousel .carousel-item {
        height: 250px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .nav-tabs .nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .products-hero h1 {
        font-size: 2rem;
    }
    
    .products-hero p {
        font-size: 1rem;
    }
    
    .product-section .section-title h2 {
        font-size: 1.6rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 1.4rem;
    }
    
    .screenshot-carousel .carousel-item {
        height: 200px;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.show {
    opacity: 1;
}

/* Product Color Themes */
.theme-blue {
    --theme-color: #2a3baa;
    --theme-gradient: linear-gradient(135deg, #0b1460 0%, #2a3baa 100%);
}

.theme-green {
    --theme-color: #26de81;
    --theme-gradient: linear-gradient(135deg, #1d8c4e 0%, #26de81 100%);
}

.theme-purple {
    --theme-color: #8854d0;
    --theme-gradient: linear-gradient(135deg, #5e3993 0%, #8854d0 100%);
}

.theme-orange {
    --theme-color: #ff9f43;
    --theme-gradient: linear-gradient(135deg, #e67e22 0%, #ff9f43 100%);
}

.theme-red {
    --theme-color: #ff6b6b;
    --theme-gradient: linear-gradient(135deg, #ee5253 0%, #ff6b6b 100%);
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Floating Elements Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 20px;
    left: -30px;
    background: #ff6b6b;
    color: #fff;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(-45deg);
    z-index: 2;
}

.product-badge.new {
    background: #26de81;
}

.product-badge.hot {
    background: #ff9f43;
}

.product-badge.sale {
    background: #ff6b6b;
}

/* Download Counter */
.download-counter {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.counter-item {
    text-align: center;
    margin-right: 2rem;
}

.counter-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2a3baa;
    margin-bottom: 0.25rem;
}

.counter-label {
    font-size: 0.9rem;
    color: #666;
}