/* North Point Electronics - Custom Homepage Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body.npe-homepage {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0a0e1a;
    color: #e8eaf6;
    overflow-x: hidden;
}

/* Navigation */
.npe-nav {
    background: rgba(10,14,26,0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,150,255,0.2);
}

.npe-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.npe-logo span { color: #0096ff; }

.npe-nav-links { display: flex; gap: 30px; list-style: none; }
.npe-nav-links a {
    color: #b0bec5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.npe-nav-links a:hover { color: #0096ff; }

.npe-nav-actions { display: flex; gap: 12px; align-items: center; }
.npe-btn-cart {
    background: #0096ff;
    color: #fff;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}
.npe-btn-cart:hover { background: #0077cc; }

/* Hero */
.npe-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e1a 0%, #0d1b2a 50%, #0a1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

.npe-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0,150,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.npe-hero-badge {
    display: inline-block;
    background: rgba(0,150,255,0.15);
    border: 1px solid rgba(0,150,255,0.4);
    color: #0096ff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.npe-hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.npe-hero h1 span { color: #0096ff; }

.npe-hero p {
    font-size: 18px;
    color: #78909c;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.npe-hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.npe-btn-primary {
    background: #0096ff;
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(0,150,255,0.4);
}
.npe-btn-primary:hover {
    background: #0077cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,150,255,0.5);
}

.npe-btn-secondary {
    background: transparent;
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
}
.npe-btn-secondary:hover {
    border-color: #0096ff;
    color: #0096ff;
}

/* Stats bar */
.npe-stats {
    background: rgba(0,150,255,0.05);
    border-top: 1px solid rgba(0,150,255,0.15);
    border-bottom: 1px solid rgba(0,150,255,0.15);
    padding: 30px 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.npe-stat { text-align: center; }
.npe-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #0096ff;
    display: block;
}
.npe-stat-label { font-size: 13px; color: #78909c; margin-top: 4px; }

/* Categories */
.npe-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.npe-section-header { text-align: center; margin-bottom: 50px; }
.npe-section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.npe-section-header p { color: #78909c; font-size: 16px; }

.npe-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.npe-cat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #e8eaf6;
    transition: all 0.3s;
    cursor: pointer;
}
.npe-cat-card:hover {
    background: rgba(0,150,255,0.08);
    border-color: rgba(0,150,255,0.4);
    transform: translateY(-4px);
    color: #fff;
}
.npe-cat-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.npe-cat-name { font-size: 15px; font-weight: 600; }

/* Products */
.npe-products-section {
    background: rgba(255,255,255,0.02);
    padding: 80px 40px;
}

.npe-products-inner { max-width: 1200px; margin: 0 auto; }

.npe-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.npe-product-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.npe-product-card:hover {
    border-color: rgba(0,150,255,0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.npe-product-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0d1b2a, #1a2744);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.npe-product-info { padding: 20px; }
.npe-product-category {
    font-size: 11px;
    color: #0096ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}
.npe-product-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.npe-product-desc {
    font-size: 13px;
    color: #78909c;
    margin-bottom: 16px;
    line-height: 1.5;
}
.npe-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.npe-product-price {
    font-size: 22px;
    font-weight: 800;
    color: #0096ff;
}
.npe-add-to-cart {
    background: #0096ff;
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.npe-add-to-cart:hover { background: #0077cc; }

/* Features */
.npe-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.npe-feature {
    text-align: center;
    padding: 30px 20px;
}
.npe-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0,150,255,0.1);
    border: 1px solid rgba(0,150,255,0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}
.npe-feature h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.npe-feature p { font-size: 14px; color: #78909c; line-height: 1.6; }

/* CTA Banner */
.npe-cta-banner {
    background: linear-gradient(135deg, #0096ff 0%, #0055cc 100%);
    padding: 80px 40px;
    text-align: center;
}
.npe-cta-banner h2 { font-size: 40px; font-weight: 900; color: #fff; margin-bottom: 16px; }
.npe-cta-banner p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.npe-btn-white {
    background: #fff;
    color: #0096ff;
    padding: 16px 44px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
    display: inline-block;
}
.npe-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* Footer */
.npe-footer {
    background: #060a12;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 40px 30px;
}
.npe-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.npe-footer-brand p { color: #546e7a; font-size: 14px; line-height: 1.7; margin-top: 12px; }
.npe-footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.npe-footer-col ul { list-style: none; }
.npe-footer-col li { margin-bottom: 10px; }
.npe-footer-col a { color: #546e7a; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.npe-footer-col a:hover { color: #0096ff; }
.npe-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: #37474f;
    font-size: 13px;
}

@media (max-width: 768px) {
    .npe-nav { padding: 0 20px; }
    .npe-nav-links { display: none; }
    .npe-hero { padding: 100px 20px 60px; }
    .npe-stats { gap: 30px; padding: 24px 20px; }
    .npe-section { padding: 60px 20px; }
    .npe-footer-grid { grid-template-columns: 1fr 1fr; }
}
