/* ----- EXACT HP COLOR THEME (official hp palette) ----- */
:root {
    --hp-blue: #024ad8;
    --hp-dark-blue: #024ad8;
    --hp-cool-gray: #f2f5f7;
    --hp-white: #ffffff;
    --hp-black: #333333;
    --hp-dark: #1a1a1a;
    --hp-gray-border: #e6e9eb;
    --hp-text-dark: #2d2d2d;
    --hp-text-soft: #5f6b7a;
    --hp-accent: #FF8C00;
    --hp-accent-hover: #ea580c;
    --hp-red: #ea580c;
    --hp-gradient: linear-gradient(135deg, #024ad8 0%, #2bace2 100%);
    --refurb-badge: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'HP Simplified', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
    background-color: #eef2f5;
    color: var(--hp-black);
}

.page-container {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--hp-white);
    box-shadow: 0 8px 24px rgba(0, 150, 214, 0.08);
}

/* ----- HEADER ----- */
.main-header {
    background: var(--hp-white);
    box-shadow: 0 4px 18px rgba(0, 150, 214, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--hp-gray-border);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
    cursor: pointer;
}
.logo-icon {
    font-size: 36px;
    color: var(--hp-blue);
    background: var(--hp-cool-gray);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--hp-dark-blue);
    letter-spacing: -0.3px;
}
.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}
.search-input {
    width: 100%;
    padding: 14px 55px 14px 24px;
    border: 1.5px solid var(--hp-gray-border);
    border-radius: 40px;
    background: var(--hp-cool-gray);
    font-size: 15px;
    transition: 0.2s;
}
.search-input:focus {
    border-color: var(--hp-blue);
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(0,150,214,0.1);
}
.search-btn {
    position: absolute;
    right: 6px; top: 5px;
    width: 42px; height: 42px;
    background: var(--hp-blue);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}
.search-btn:hover { background: var(--hp-dark-blue); }
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--hp-black);
    font-size: 12px;
    font-weight: 500;
    transition: 0.2s;
    cursor: pointer;
    background: none;
    border: none;
}
.action-btn i {
    font-size: 24px;
    color: var(--hp-dark-blue);
    margin-bottom: 2px;
}
.action-btn:hover { color: var(--hp-blue); }

/* ----- NAV ----- */
.main-nav { background: var(--hp-dark-blue); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.nav-link {
    color: white;
    text-decoration: none;
    padding: 14px 18px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 0;
    transition: 0.2s;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.nav-link:hover {
    background: rgba(255,255,255,0.1);
    border-bottom-color: white;
}
.nav-link.deals-link {
    background: var(--hp-accent);
    color: white !important;
    font-weight: 700;
    border-radius: 0;
}
.nav-link.deals-link:hover {
    background: var(--hp-accent-hover);
    border-bottom-color: var(--hp-accent-hover);
}

/* ----- FOOTER ----- */
.main-footer {
    background: #1c2b38;
    color: white;
    margin-top: 50px;
    border-top: 4px solid var(--hp-blue);
}
.footer-top {
    padding: 50px 0 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 0 20px;
}
.footer-column h3 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid var(--hp-blue);
    padding-bottom: 12px;
    display: inline-block;
}
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 14px; }
.footer-column a {
    color: #b0c4d9;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}
.footer-column a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
    color: #b0c4d9;
    text-decoration: none;
    font-size: 13px;
}
.footer-links a.active { color: white; font-weight: 600; }
.copyright { color: #b0c4d9; font-size: 13px; }
.disclaimer-text {
    color: #9aabbc;
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
    width: 100%;
    border-top: 1px dashed #2f4050;
    padding-top: 18px;
}

/* ----- FLOATING CALL BUTTON ----- */
.floating-call-circle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 65px;
    height: 65px;
    background: var(--hp-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(200,18,45,0.4);
    z-index: 9999;
    cursor: pointer;
    transition: 0.2s;
    border: 3px solid white;
    text-decoration: none;
}
.floating-call-circle:hover {
    transform: scale(1.1);
    background: #a00e24;
}

/* ----- SHARED HERO / CTA / FILTER PATTERNS ----- */
.hero-btn, .cta-btn {
    padding: 14px 34px;
    background: var(--hp-blue);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 18px rgba(0,150,214,0.3);
    transition: 0.2s;
    border: 1px solid transparent;
    text-decoration: none !important;
}
.hero-btn:hover, .cta-btn:hover { background: var(--hp-dark-blue); color: #fff; }
.hero-btn.secondary {
    background: white;
    color: var(--hp-blue);
    border: 2px solid var(--hp-blue);
    box-shadow: none;
}
.hero-btn.secondary:hover { background: var(--hp-cool-gray); }

.hidden { display: none !important; }

/* RESPONSIVE (shared) */
@media (max-width: 768px) {
    .search-container { display: none; }
    .header-top { justify-content: space-between; }
    .logo-text { font-size: 24px; }
}
