/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background: #0a0e27;
    color: #fff;
}

/* Dynamic Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    overflow: hidden;
}

.circuit-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 150, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 150, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff96;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff96, 0 0 20px #00ff96;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

.component {
    position: absolute;
    opacity: 0.3;
    animation: componentFloat 20s infinite;
}

.chip {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1f3a, #2a3f5a);
    border: 2px solid #00ff96;
    border-radius: 8px;
    position: relative;
}

.chip::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #00ff96;
    border-radius: 4px;
}

.resistor {
    width: 80px;
    height: 20px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #ff6b6b);
    border-radius: 10px;
    border: 2px solid #00ff96;
}

.capacitor {
    width: 30px;
    height: 50px;
    background: #2a3f5a;
    border: 2px solid #00ff96;
    border-radius: 4px;
}

@keyframes componentFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 150, 0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: #00ff96;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff96;
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: #fff;
    text-shadow: 0 0 10px #00ff96;
}

.cart-icon {
    position: relative;
    font-size: 20px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 120px 20px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Home Page Styles */
.hero {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #00ff96, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 150, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: #b0b0b0;
    line-height: 1.8;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 80px;
    width: 100%;
    max-width: 1200px;
}

.service-card {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 150, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ff96;
    box-shadow: 0 10px 40px rgba(0, 255, 150, 0.3);
}

.service-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00ff96;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00ff96, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.3rem;
    color: #b0b0b0;
}

/* Search Bar */
.search-bar {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(26, 31, 58, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #00ff96;
    box-shadow: 0 0 20px rgba(0, 255, 150, 0.3);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #00ff96;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: #0a0e27;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.search-bar button:hover {
    background: #00d4ff;
    transform: translateY(-50%) scale(1.05);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 25px;
    color: #00ff96;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #00ff96;
    color: #0a0e27;
    border-color: #00ff96;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 150, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #00ff96;
    box-shadow: 0 10px 40px rgba(0, 255, 150, 0.3);
}

.product-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00ff96;
}

.product-card .model {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-card .description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.product-card .price {
    font-size: 1.8rem;
    color: #00ff96;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-card .stock {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-card .stock.in-stock {
    color: #00ff96;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: #00ff96;
    border: none;
    border-radius: 8px;
    color: #0a0e27;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.add-to-cart:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

.add-to-cart:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

.add-to-cart.added {
    background: #00d4ff;
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(0, 255, 150, 0.9);
    color: #0a0e27;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 255, 150, 0.3);
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
    font-weight: bold;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.quantity-selector label {
    color: #00ff96;
    font-size: 14px;
}

.quantity-selector input {
    width: 80px;
    padding: 8px;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.quantity-selector input:focus {
    outline: none;
    border-color: #00ff96;
}

/* Shopping Cart Styles */
.empty-cart {
    text-align: center;
    padding: 100px 20px;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: 30px;
}

.empty-cart h2 {
    color: #00ff96;
    margin-bottom: 20px;
    font-size: 2rem;
}

.empty-cart p {
    color: #b0b0b0;
    margin-bottom: 30px;
}

.empty-cart a {
    display: inline-block;
    padding: 15px 40px;
    background: #00ff96;
    color: #0a0e27;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
}

.empty-cart a:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.cart-items {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.cart-items h2 {
    color: #00ff96;
    margin-bottom: 30px;
    font-size: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 150, 0.2);
}

.cart-item-icon {
    font-size: 3rem;
    margin-right: 20px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    color: #00ff96;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.cart-item-info .model {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cart-item-info .price {
    color: #00ff96;
    font-size: 1.2rem;
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    padding: 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: #00ff96;
    border: none;
    border-radius: 5px;
    color: #0a0e27;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: #00d4ff;
}

.quantity {
    min-width: 40px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

.remove-btn {
    padding: 8px 15px;
    background: #ff6b6b;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-btn:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.cart-summary {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    height: fit-content;
    position: sticky;
    top: 140px;
}

.cart-summary h2 {
    color: #00ff96;
    margin-bottom: 30px;
    font-size: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #b0b0b0;
}

.summary-row.total {
    border-top: 2px solid rgba(0, 255, 150, 0.3);
    padding-top: 15px;
    margin-top: 15px;
    color: #00ff96;
    font-size: 1.3rem;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #00ff96;
    border: none;
    border-radius: 8px;
    color: #0a0e27;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: #00d4ff;
    transform: scale(1.02);
}

.checkout-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

.checkout-form {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-top: 30px;
}

.checkout-form h2 {
    color: #00ff96;
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: #00ff96;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #00ff96;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff96;
    box-shadow: 0 0 10px rgba(0, 255, 150, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.order-confirmation {
    text-align: center;
    padding: 60px 20px;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.order-confirmation-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.order-confirmation h2 {
    color: #00ff96;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.order-number {
    background: rgba(0, 255, 150, 0.2);
    padding: 15px 30px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 1.5rem;
    color: #00ff96;
    font-weight: bold;
}

.order-details {
    text-align: left;
    background: rgba(10, 14, 39, 0.5);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.order-details h3 {
    color: #00ff96;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 255, 150, 0.2);
}

.order-item:last-child {
    border-bottom: none;
}

.back-to-shop {
    display: inline-block;
    padding: 15px 40px;
    background: #00ff96;
    color: #0a0e27;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s;
}

.back-to-shop:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

/* Order History */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.order-card {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 150, 0.2);
}

.order-header h3 {
    color: #00ff96;
    font-size: 1.5rem;
}

.order-date {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 5px;
}

.order-status {
    background: rgba(0, 255, 150, 0.2);
    color: #00ff96;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 100px 20px;
    color: #00ff96;
    font-size: 1.5rem;
}

.error {
    text-align: center;
    padding: 100px 20px;
    color: #ff6b6b;
    font-size: 1.5rem;
}

.content-section {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

/* PCB Components Page Styles */
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.component-card {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 40px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.component-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 150, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.component-card:hover::before {
    opacity: 1;
}

.component-card:hover {
    transform: translateY(-10px);
    border-color: #00ff96;
    box-shadow: 0 10px 40px rgba(0, 255, 150, 0.3);
}

.component-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #00ff96;
}

.component-card p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.component-card ul {
    list-style: none;
    color: #b0b0b0;
}

.component-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.component-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00ff96;
}

.features {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #00ff96;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item h3 {
    color: #00ff96;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-item p {
    color: #b0b0b0;
}

/* PCB Rework Page Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.process {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 60px;
}

.process h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #00ff96;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 150, 0.2);
    transition: all 0.3s;
}

.step:hover {
    border-color: #00ff96;
    transform: scale(1.05);
}

.step-number {
    font-size: 3rem;
    color: #00ff96;
    margin-bottom: 15px;
}

.step h3 {
    color: #00ff96;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step p {
    color: #b0b0b0;
    line-height: 1.6;
}

.advantages {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.advantages h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #00ff96;
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 150, 0.2);
}

.advantage-item h3 {
    color: #00ff96;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.advantage-item p {
    color: #b0b0b0;
    line-height: 1.8;
}

/* Cable Custom Page Styles */
.cables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.cable-card {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 40px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cable-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 150, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cable-card:hover::before {
    opacity: 1;
}

.cable-card:hover {
    transform: translateY(-10px);
    border-color: #00ff96;
    box-shadow: 0 10px 40px rgba(0, 255, 150, 0.3);
}

.cable-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #00ff96;
}

.cable-card p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cable-card ul {
    list-style: none;
    color: #b0b0b0;
}

.cable-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.cable-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00ff96;
}

.specifications {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 60px;
}

.specifications h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #00ff96;
    text-align: center;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.spec-item {
    background: rgba(10, 14, 39, 0.5);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 150, 0.2);
    transition: all 0.3s;
}

.spec-item:hover {
    border-color: #00ff96;
    transform: scale(1.05);
}

.spec-item h3 {
    color: #00ff96;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.spec-item p {
    color: #b0b0b0;
    line-height: 1.8;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form h2 {
    color: #00ff96;
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-info {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-info h2 {
    color: #00ff96;
    margin-bottom: 30px;
    font-size: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 255, 150, 0.2);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    min-width: 50px;
}

.info-content h3 {
    color: #00ff96;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.info-content p {
    color: #b0b0b0;
    line-height: 1.6;
}

.info-content a {
    color: #00ff96;
    text-decoration: none;
    transition: all 0.3s;
}

.info-content a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 255, 150, 0.5);
}

.map-section {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.map-section h2 {
    color: #00ff96;
    margin-bottom: 30px;
    font-size: 2rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2rem;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #00ff96;
    border: none;
    border-radius: 8px;
    color: #0a0e27;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #00d4ff;
    transform: scale(1.02);
}

/* Tools Page Styles */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.tool-card {
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.tool-card:hover {
    border-color: #00ff96;
    box-shadow: 0 10px 40px rgba(0, 255, 150, 0.3);
}

.tool-card h2 {
    color: #00ff96;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.calculator {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.calc-display {
    grid-column: 1 / -1;
    padding: 20px;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    text-align: right;
    font-size: 2rem;
    color: #00ff96;
    min-height: 80px;
    word-wrap: break-word;
}

.calc-btn {
    padding: 20px;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.calc-btn:hover {
    background: #00ff96;
    color: #0a0e27;
    border-color: #00ff96;
}

.calc-btn.operator {
    background: rgba(0, 212, 255, 0.3);
}

.calc-btn.equals {
    background: rgba(0, 255, 150, 0.5);
    grid-column: span 2;
}

.resistor-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    color: #00ff96;
    font-size: 14px;
}

.input-group input,
.input-group select {
    padding: 10px;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #00ff96;
}

.result {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 150, 0.1);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    color: #00ff96;
    font-size: 1.2rem;
}

.converter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.converter-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.converter-row input,
.converter-row select {
    flex: 1;
    padding: 10px;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
}

.converter-row input:focus,
.converter-row select:focus {
    outline: none;
    border-color: #00ff96;
}

.swap-btn {
    padding: 10px 20px;
    background: #00ff96;
    border: none;
    border-radius: 8px;
    color: #0a0e27;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.swap-btn:hover {
    background: #00d4ff;
}

/* Search and Filter Bar */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
}

.search-bar input:focus {
    outline: none;
    border-color: #00ff96;
    box-shadow: 0 0 15px rgba(0, 255, 150, 0.2);
}

.search-bar button {
    padding: 12px 30px;
    background: #00ff96;
    border: none;
    border-radius: 8px;
    color: #0a0e27;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.search-bar button:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 255, 150, 0.3);
    border-radius: 8px;
    color: #00ff96;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover {
    border-color: #00ff96;
    background: rgba(0, 255, 150, 0.1);
}

.filter-btn.active {
    background: #00ff96;
    color: #0a0e27;
    border-color: #00ff96;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cart-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero h1,
    .page-header h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .services,
    .products-grid,
    .components-grid,
    .services-grid,
    .cables-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-controls {
        margin-left: 0;
        margin-top: 15px;
    }
}

