:root {
    /* Color Palette */
    --primary-color: #0056b3;
    --dark-blue: #003d7a;
    --accent-color: #ff6b35;
    --electric-yellow: #ffc107;
    --success-green: #28a745;
    --dark-gray: #1a1a2e;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --circuit-pattern-bg: #0a1628;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Typography */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    background-color: var(--light-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark-gray);
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Navbar */
.navbar {
    background: #ffffff;
    /* backdrop-filter: blur(12px); Removed for solid white */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-family: var(--font-accent);
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 5px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
}

.btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #e05e2b;
    border-color: #e05e2b;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    background: var(--circuit-pattern-bg);
    color: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/circuit-pattern.png');
    /* Ensure this file exists */
    opacity: 0.05;
    animation: moveBackground 60s linear infinite;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Feature Boxes */
.feature-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: 2;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-box:hover::before {
    height: 3px;
    background: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 86, 179, 0.1);
}

.product-img-wrapper {
    height: 280px;
    background: #fff;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    transition: transform 0.6s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--electric-yellow);
    color: #000;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 10;
}

.product-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    text-decoration: none;
}

.product-title:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: #aab;
    padding-top: 5rem;
    border-top: 4px solid var(--primary-color);
}

.footer-heading {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-link {
    color: #aab;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Catalog Design View */
.product-catalog-wrap {
    background: #fff;
    padding: 10px;
}

.pdf-page-view {
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.pdf-page-view:hover {
    transform: scale(1.01);
}

.catalog-branding {
    border-left: 5px solid var(--accent-color);
}

.list-unstyled li i {
    font-size: 14px;
}

.specs-wrap ul {
    background: #fdfdfd;
    padding: 20px 40px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .product-catalog-wrap {
        padding: 5px;
    }

    .pdf-page-view {
        margin-bottom: 15px;
    }
}