:root {
    --primary: #e50914;
    --primary-dark: #b20710;
    --primary-light: #ff4d4d;
    --secondary: #00d9ff;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --light: #f0f0f0;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --glow: 0 0 15px rgba(229, 9, 20, 0.7);
    --section-padding: 80px 20px;
    --card-radius: 15px;
    --header-height: 100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
    position: relative;
}

body.light-theme {
    --dark: #f8f9fa;
    --dark-light: #f1f3f5;
    --light: #212529;
    background: #f8f9fa;
    color: #212529;
}

/* Particles background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    
}
/* ===== FIX FOR PARTICLES.JS MOUSE EVENTS ===== */
/* Make all direct children of body (except particles container) ignore mouse events */


/* Re-enable pointer events for interactive elements */
nav, .card, section, footer, 
button, a, input, .cta-button,
.profile-button, .view-details,
.back-to-top, .theme-toggle {
    pointer-events: auto;
}
/* FIX: Digital pulse overlay blocking clicks */
.digital-pulse::after {
    pointer-events: none;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 120px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 20%);
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(229, 9, 20, 0.3), transparent 70%);
    pointer-events: none;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
    animation: pulse 2s infinite;
    box-shadow: 0 0 25px var(--primary);
}

header h1 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white; /* Fixed: Always white in header */
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--primary),
        0 0 40px var(--primary),
        0 0 80px var(--primary);
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

header h1::before,
header h1::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 4px;
    background: var(--primary);
    transform: translateY(-50%);
}

header h1::before {
    left: -60px;
}

header h1::after {
    right: -60px;
}

header p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 25px auto 50px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    background: var(--dark-light);
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #ffff; /* add this line */
    position: relative; /* needed for the ::before pseudo-element */
    text-decoration: none; /* optional */
}
body.light-theme .cta-button {
    color: #FF6666; /* black in light mode */
}

body.dark-theme .cta-button {
    color: #ffffff; /* white in dark mode */
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--primary);
}

nav {
    background: rgba(10, 10, 10, 0.95);
    padding: 0 20px;
    display: flex;
    justify-content: center;
    position: fixed; /* ✅ CHANGED */
    top: 0;
    width: 100%;      /* ✅ ADDED */
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(229, 9, 20, 0.3);
}

body.light-theme nav {
    background: rgba(248, 249, 250, 0.95);
    border-bottom: 1px solid rgba(229, 9, 20, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 5px 0;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

body.light-theme .nav-logo {
    color: #212529;
}

.nav-logo span {
    color: var(--primary);
}

.nav-logo .logo-mini {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 22px 0;
    transition: var(--transition);
    position: relative;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.light-theme nav a {
    color: #212529;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-light);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

body.light-theme .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #212529;
}

.theme-toggle:hover {
    background: var(--primary);
    transform: rotate(30deg);
}

/* Sections */
section {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: white;
    letter-spacing: 1px;
}

body.light-theme .section-header h2 {
    color: #212529;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 15px var(--primary);
}

.section-header p {
    max-width: 700px;
    margin: 30px auto 0;
    color: #aaa;
    font-size: 1.2rem;
    line-height: 1.7;
}

body.light-theme .section-header p {
    color: #6c757d;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

.team-card {
    background: rgba(255, 255, 255, 0.05); /* Transparent white */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--card-radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Safari support */
}

body.light-theme .team-card {
    background: rgba(255, 255, 255, 0.6); /* Frosted glass */
    border: 1px solid var(--primary); /* Use your theme's red or accent */
    box-shadow: 0 8px 32px rgba(229, 9, 20, 0.2); /* Soft glow in red */
    color: #212529;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(229, 9, 20, 0.3);
}

.team-img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    transition: var(--transition);
    border: 4px solid var(--primary);
    filter: grayscale(20%);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.team-card:hover .team-img {
    filter: grayscale(0%);
    transform: scale(1.05);
    border-color: var(--secondary);
}

.team-card h3 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: white;
    letter-spacing: -0.5px;
}

body.light-theme .team-card h3 {
    color: #212529;
}

.team-card p {
    color: #bbb;
    font-size: 1.15rem;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.5;
}

body.light-theme .team-card p {
    color: #6c757d;
}

.profile-button {
    display: inline-block;
    background: rgba(229, 9, 20, 0.2);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(229, 9, 20, 0.4);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

body.light-theme .profile-button {
    background: rgba(229, 9, 20, 0.1);
    color: #212529;
    border: 1px solid rgba(229, 9, 20, 0.2);
}

.profile-button:hover {
    background: rgba(229, 9, 20, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.3);
    letter-spacing: 1px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: rgba(255, 255, 255, 0.07); /* Transparent glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--card-radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
}

body.light-theme .product-card {
    background: rgba(255, 255, 255, 0.6); /* Frosted glass */
    border: 1px solid var(--primary); /* Red-X accent */
    box-shadow: 0 8px 32px rgba(229, 9, 20, 0.2); /* Soft red glow */
    color: #212529;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(229, 9, 20, 0.3);
}

.product-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    transform: scale(1.2);
    color: var(--secondary);
    animation: iconPulse 1.5s infinite;
}

.product-card h3 {
    margin: 0 0 15px;
    font-size: 1.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: white;
}

body.light-theme .product-card h3 {
    color: #212529;
}

.product-card p {
    color: #bbb;
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 60px;
}

body.light-theme .product-card p {
    color: #6c757d;
}

.view-details {
    display: inline-block;
    background: rgba(229, 9, 20, 0.15);
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(229, 9, 20, 0.3);
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

body.light-theme .view-details {
    background: rgba(229, 9, 20, 0.1);
    color: #212529;
    border: 1px solid rgba(229, 9, 20, 0.2);
}

.view-details:hover {
    background: rgba(229, 9, 20, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.2);
}

.coming-soon {
    opacity: 0.7;
    font-style: italic;
}

/* Contact Section */
.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.07); /* Glass transparent effect */
    border-radius: var(--card-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
}

body.light-theme .contact-card {
    background: rgba(255, 255, 255, 0.6); /* Light frosted glass */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #212529;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.contact-card:hover i {
    transform: scale(1.2);
    color: var(--secondary);
}

.contact-card h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

body.light-theme .contact-card h3,
body.light-theme .contact-card p {
    color: #212529;
}

.contact-card a {
    display: inline-block;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 12px 30px;
    border-radius: 30px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    font-size: 1.1rem;
}
body.light-theme .contact-card a {
    color: #212529; /* Normal state text in light mode */
}

body.light-theme .contact-card a:hover {
    color: #ffffff; /* Hover state - white works now because of darker hover bg */
}

.contact-card a:hover {
    color: white;
    background: rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    transform: translateY(-3px);
}

/* Footer */
footer {
    text-align: center;
    padding: 70px 20px 40px;
    background-color: #080808;
    color: #666;
    position: relative;
    margin-top: 50px;
    background: linear-gradient(to bottom, #0a0a0a, #080808);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}

body.light-theme footer {
    background: linear-gradient(to bottom, #e9ecef, #f8f9fa);
    color: #6c757d;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo .logo-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

body.light-theme .footer-logo h3 {
    color: #212529;
}

.footer-logo p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #999;
}

body.light-theme .footer-logo p {
    color: #6c757d;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark-light);
    color: #aaa;
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.light-theme .social-links a {
    background: #e9ecef;
    color: #6c757d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.4);
}

.copyright {
    margin-top: 40px;
    font-size: 1rem;
    color: #777;
}

.copyright p {
    margin: 10px 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    transform: translateY(100px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Team Member Page */
.team-member-page {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.team-member-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

body.light-theme .team-member-header h2 {
    color: #e50914;
}

.team-member-header .back-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(229, 9, 20, 0.1);
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none; /* ✅ REMOVE UNDERLINE */
}

.back-button:hover {
    background: rgba(229, 9, 20, 0.2);
    transform: translateY(-50%) translateX(-5px);
}

.team-member-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.member-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.member-details {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(145deg, #151515, #0f0f0f);
    border-radius: var(--card-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

body.light-theme .member-details {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.member-details h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.member-details p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 25px;
}

body.light-theme .member-details p {
    color: #6c757d;
}

.member-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: rgba(0, 217, 255, 0.1);
    border-radius: var(--card-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.2);
}

.stat-card h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

body.light-theme .stat-card p {
    color: #212529;
}

/* Product Page */
.product-page {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.product-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

body.light-theme .product-header h2 {
    color: #e50914;
}

.product-header .back-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(229, 9, 20, 0.1);
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background: rgba(229, 9, 20, 0.2);
    transform: translateY(-50%) translateX(-5px);
}

.product-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.product-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-details {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(145deg, #151515, #0f0f0f);
    border-radius: var(--card-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

body.light-theme .product-details {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-details h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.product-details p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 25px;
}

body.light-theme .product-details p {
    color: #6c757d;
}

.product-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: rgba(0, 217, 255, 0.1);
    border-radius: var(--card-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.2);
}

.stat-card h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

body.light-theme .stat-card p {
    color: #212529;
}

.buy-section {
    margin-top: 30px;
    text-align: center;
}

.pricing-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pricing-option {
    background: rgba(229, 9, 20, 0.1);
    border-radius: var(--card-radius);
    padding: 20px;
    min-width: 150px;
    transition: var(--transition);
    border: 1px solid rgba(229, 9, 20, 0.3);
}

.pricing-option:hover {
    transform: translateY(-5px);
    background: rgba(229, 9, 20, 0.2);
}

.pricing-option h4 {
    margin-top: 0;
    color: var(--primary);
}

.pricing-option .price {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

.buy-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    margin-top: 20px;
}

.buy-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

/* Animations */
@keyframes pulse {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 20px var(--primary);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 40px var(--primary);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 20px var(--primary);
    }
}

@keyframes iconPulse {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section, .section-header {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Floating animation for CTA */
.cta-button {
    animation: float 3s ease-in-out infinite;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    z-index: 1000;
    width: 0%;
    transition: width 0.2s ease;
}

/* Digital pulse effect */
.digital-pulse {
    position: relative;
}

.digital-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
    animation: pulseBorder 2s infinite;
    pointer-events: none;
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(229, 9, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
    }
}

/* NEW: Hover effects for cards */
.card-hover-glow:hover {
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.5);
}

/* NEW: Section entry animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-section {
    animation: slideIn 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 992px) {
    header h1 {
        font-size: 3.2rem;
    }
    
    header p {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 100px 20px 50px;
    }
    
    header h1 {
        font-size: 2.8rem;
    }
    
    header h1::before,
    header h1::after {
        width: 30px;
    }
    
    header h1::before {
        left: -40px;
    }
    
    header h1::after {
        right: -40px;
    }
    
    header p {
        font-size: 1.2rem;
        margin: 20px auto 40px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    nav a {
        font-size: 1rem;
        padding: 18px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .team-grid, .product-grid, .contact-links {
        grid-template-columns: 1fr;
    }
    
    .team-img {
        width: 150px;
        height: 150px;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 1.1rem;
    }
    
    .team-member-header .back-button,
    .product-header .back-button {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 20px;
    }
    
    .team-member-content,
    .product-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .nav-container {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    nav a {
        padding: 12px 0;
    }
    
    header {
        padding: 80px 20px 40px;
    }
    
    header h1 {
        font-size: 2.4rem;
    }
    
    header h1::before,
    header h1::after {
        display: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}
