/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Main Container */
.main-container {
    min-height: 100vh;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}

/* Fixed Background */
.fixed-background {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.bg-gradient-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #0f172a, rgba(30, 58, 138, 0.2), rgba(49, 46, 129, 0.3));
}

.bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 50%);
}

.bg-blur-1 {
    position: absolute;
    top: 0;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    filter: blur(96px);
}

.bg-blur-2 {
    position: absolute;
    bottom: 0;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    filter: blur(96px);
}

.bg-blur-3 {
    position: absolute;
    top: 50%;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    filter: blur(96px);
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pulse-delay-1000 {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 1s;
}

.animate-pulse-delay-500 {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 0.5s;
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 1.5rem;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 9rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1;
}

.gradient-text {
    background: linear-gradient(to right, #ffffff, #bfdbfe, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-divider-container {
    display: flex;
    justify-content: center;
}

.hero-divider {
    width: 8rem;
    height: 0.25rem;
    background: linear-gradient(to right, transparent, #3b82f6, transparent);
    border-radius: 9999px;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-top: 2rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* Fade In Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-in-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s ease-in-out;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Category Section */
.category-section {
    position: relative;
    z-index: 10;
    padding: 4rem 1.5rem;
}

.category-container {
    max-width: 80rem;
    margin: 0 auto;
}

.category-content {
    transition: all 1s ease-in-out;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-filter {
    width: 1.5rem;
    height: 1.5rem;
    color: #60a5fa;
}

.category-title-text {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #ffffff;
}

/* View Mode Toggle */
.view-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(30, 41, 59, 0.5);
    border-radius: 9999px;
    padding: 0.25rem;
}

.view-btn {
    padding: 0.5rem;
    border-radius: 9999px;
    border: none;
    background: none;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    color: #ffffff;
}

.view-btn.active {
    background-color: #2563eb;
    color: #ffffff;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    transform: scale(1);
    background-color: rgba(30, 41, 59, 0.5);
    color: #cbd5e1;
    border: 1px solid rgba(51, 65, 85, 0.3);
    min-height: 3.5rem;
}

.filter-btn:hover {
    background-color: rgba(51, 65, 85, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.filter-btn.active {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.4);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.6);
}

.icon-category {
    width: 1.5rem;
    height: 1.5rem;
    transition: all 0.3s ease;
}

.filter-btn.active .icon-category {
    color: #ffffff;
}

.filter-btn:not(.active) .icon-category {
    color: #60a5fa;
}

/* Products Section */
.products-section {
    position: relative;
    z-index: 10;
    padding: 8rem 1.5rem;
}

.products-container {
    max-width: 80rem;
    margin: 0 auto;
}

.products-content {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

/* Category Group */
.category-group {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.category-group-header {
    transition: all 1s ease-in-out;
}

.category-group-title-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-accent-line {
    width: 0.5rem;
    height: 4rem;
    background: linear-gradient(to bottom, #3b82f6, #6366f1);
    border-radius: 9999px;
}

.category-group-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.icon-blue {
    color: #60a5fa;
}

.category-count {
    color: #94a3b8;
    font-weight: 500;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid.list-view {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    position: relative;
    transition: all 1s ease-in-out;
    opacity: 0;
    transform: translateY(40px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-container {
    position: relative;
    background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.3), rgba(15, 23, 42, 0.3));
    backdrop-filter: blur(24px);
    border-radius: 1.5rem;
    border: 1px solid rgba(51, 65, 85, 0.3);
    transition: all 0.7s ease;
    overflow: hidden;
    padding: 2rem;
}

.product-container:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.1);
}

.product-holographic {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    opacity: 0;
    transition: opacity 0.7s ease;
}

.product-container:hover .product-holographic {
    opacity: 1;
}

/* Product Image */
.product-image-container {
    position: relative;
    height: 16rem;
    background: linear-gradient(to bottom right, rgba(51, 65, 85, 0.3), rgba(30, 41, 59, 0.3));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.product-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-container:hover .product-image-bg {
    opacity: 1;
}

.product-status-indicators {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-green {
    background-color: #4ade80;
}

.status-blue {
    background-color: #60a5fa;
    animation-delay: 0.3s;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.7s ease;
    filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.03));
}

.product-container:hover .product-image {
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    position: relative;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-title {
    font-size: clamp(1.25rem, 2vw, 1.875rem);
    font-weight: 900;
    color: #ffffff;
    transition: color 0.3s ease;
}

.product-container:hover .product-title {
    color: #93c5fd;
}

.product-code {
    font-size: 0.875rem;
    font-weight: 700;
    color: #60a5fa;
    background-color: rgba(59, 130, 246, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.product-rating {
    display: flex;
    gap: 0.25rem;
}

.star-icon {
    width: 1rem;
    height: 1rem;
    color: #facc15;
    fill: currentColor;
}

.product-description {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

/* Product Specs */
.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.spec-card {
    position: relative;
    background: linear-gradient(to bottom right, rgba(51, 65, 85, 0.3), rgba(30, 41, 59, 0.3));
    backdrop-filter: blur(4px);
    border-radius: 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgba(71, 85, 105, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.spec-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.spec-icon {
    width: 1rem;
    height: 1rem;
    margin-bottom: 0.5rem;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.spec-card:hover .spec-icon {
    color: #60a5fa;
}

.spec-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 0.875rem;
    font-weight: 900;
    color: #60a5fa;
}

/* Product Features */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.2), rgba(79, 70, 229, 0.2));
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.feature-pill:hover {
    border-color: rgba(96, 165, 250, 0.5);
}

.feature-icon {
    width: 0.75rem;
    height: 0.75rem;
    color: #4ade80;
}

.feature-pill span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #e2e8f0;
}

/* Excellence Section */
.excellence-section {
    position: relative;
    z-index: 10;
    padding: 8rem 1.5rem;
}

.excellence-container {
    max-width: 80rem;
    margin: 0 auto;
}

.excellence-header {
    text-align: center;
    margin-bottom: 5rem;
}

.excellence-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.excellence-description {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 48rem;
    margin: 0 auto;
}

.excellence-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .excellence-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.excellence-card {
    position: relative;
    background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.3), rgba(15, 23, 42, 0.3));
    backdrop-filter: blur(24px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(51, 65, 85, 0.3);
    transition: all 0.7s ease;
}

.excellence-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.1);
}

.excellence-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    background: linear-gradient(to right, #3b82f6, #6366f1);
    border-radius: 1.5rem 1.5rem 0 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.excellence-card:hover .excellence-accent {
    opacity: 1;
}

.excellence-icon {
    width: 3rem;
    height: 3rem;
    color: #60a5fa;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.excellence-card:hover .excellence-icon {
    transform: scale(1.1);
}

.excellence-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.excellence-card:hover .excellence-card-title {
    color: #93c5fd;
}

.excellence-card-desc {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.excellence-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.excellence-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #60a5fa;
    border-radius: 50%;
}

/* CTA Section */
.cta-section {
    position: relative;
    z-index: 10;
    padding: 8rem 1.5rem;
}

.cta-container {
    max-width: 80rem;
    margin: 0 auto;
}

.cta-wrapper {
    position: relative;
}

.cta-bg-blur {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #2563eb, #4f46e5, #7c3aed);
    border-radius: 1.5rem;
    filter: blur(48px);
    opacity: 0.3;
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    transition: opacity 0.7s ease;
}

.cta-wrapper:hover .cta-bg-blur {
    opacity: 0.4;
}

.cta-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.2), rgba(37, 99, 235, 0.2));
    border-radius: 1.5rem;
    filter: blur(24px);
}

.cta-content {
    position: relative;
    background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
    backdrop-filter: blur(48px);
    border-radius: 1.5rem;
    padding: 4rem;
    border: 1px solid rgba(51, 65, 85, 0.3);
    text-align: center;
}

.cta-accent-line {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    margin-bottom: 2rem;
}

.cta-description {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: #ffffff;
    font-weight: 700;
    padding: 1.5rem 3rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
}

.cta-button:hover {
    background: linear-gradient(to right, #3b82f6, #6366f1);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.3);
    transform: translateY(-0.5rem) scale(1.05);
}

.cta-arrow {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(0.5rem);
}

.cta-button-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 9999px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover .cta-button-overlay {
    opacity: 1;
}

.cta-support {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.cta-support-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #4ade80;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cta-support-text {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer Accent */
.footer-accent {
    position: relative;
    z-index: 10;
    height: 0.5rem;
    background: linear-gradient(to right, #2563eb, #4f46e5, #7c3aed, #06b6d4);
}

/* No Products */
.no-products {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.no-products-content {
    text-align: center;
    max-width: 500px;
}

.no-products-icon {
    width: 5rem;
    height: 5rem;
    color: #475569;
    margin: 0 auto 2rem;
    display: block;
}

.no-products-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.no-products-desc {
    color: #94a3b8;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.no-products-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-products-button:hover {
    background: linear-gradient(to right, #1d4ed8, #4338ca);
    transform: scale(1.05);
}

.no-products-arrow {
    width: 1.25rem;
    height: 1.25rem;
}

/* List View Styles */
.products-grid.list-view .product-card {
    display: flex;
}

.products-grid.list-view .product-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.products-grid.list-view .product-image-container {
    width: 16rem;
    height: 12rem;
    flex-shrink: 0;
    margin-bottom: 0;
}

.products-grid.list-view .product-info {
    flex: 1;
}

.products-grid.list-view .product-specs {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .products-grid.list-view .product-container {
        flex-direction: column;
        gap: 2rem;
    }

    .products-grid.list-view .product-image-container {
        width: 100%;
    }

    .products-grid.list-view .product-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}