/* ========= CSS RESET & NORMALIZATION ========= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font-size: 100%;
    box-sizing: border-box;
}
html {
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    background: #161B27;
    color: #F2F4F9;
    min-height: 100vh;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul, ol {
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
img {
    max-width: 100%;
    display: block;
    height: auto;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}
:focus {
    outline: 2px solid #D75615;
}


/* ========= BRAND COLOR VARIABLES ========= */
:root {
    --color-primary: #224488;
    --color-primary-dark: #1B345F;
    --color-secondary: #E2D9C3;
    --color-secondary-bg: #23283A;
    --color-accent: #D75615;
    --color-accent-neon: #FF693A;
    --color-bg: #161B27;
    --color-card-bg: #192134;
    --color-hover: #203A76;
    --color-success: #32E88B;
    --color-danger: #FF3366;
    --color-light: #ffffff;
    --color-dark: #151922;
    --color-border: #223460;
    --shadow-lg: 0 4px 32px rgba(34, 68, 136, 0.24);
    --shadow-md: 0 2px 16px rgba(34, 68, 136, 0.16);
    --shadow-hover: 0 8px 24px #d7561533, 0 0 0 2px #D7561518;
}


/* ========= TYPOGRAPHY ========= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    color: var(--color-light);
    letter-spacing: 0.01em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 14px; }
h3 { font-size: 1.32rem; font-weight: 600; }
h4 { font-size: 1.1rem; }
p, li, dt, dd {
    color: #F2F4F9;
    margin-bottom: 10px;
    font-size: 1rem;
}
strong { color: var(--color-accent); font-weight: 700; }
em { color: var(--color-accent-neon); font-style: italic; }


/* ========= LAYOUT CONTAINERS ========= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 80px;
}
.content-wrapper {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    border-radius: 18px;
    background: var(--color-card-bg);
    box-shadow: var(--shadow-md);
}
.section:last-child { margin-bottom: 0; }
.text-section { margin-bottom: 34px; }

/* General Flex Spacing Patterns */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card { 
    background: var(--color-card-bg);
    box-shadow: var(--shadow-md);
    border-radius: 18px;
    margin-bottom: 20px;
    position: relative;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 350px;
    min-width: 260px;
    transition: box-shadow 0.25s, transform 0.3s;
}
.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px) scale(1.025);
    z-index: 2;
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #F5F5F0;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(34,68,136,0.10);
    color: #1d1e22;
    margin: 20px 0 0 0;
    min-width: 255px;
    flex: 1 1 320px;
}
.testimonial-card p {
    color: #223460;
    margin-bottom: 10px;
    font-size: 1.04rem;
    font-style: italic;
}
.testimonial-author {
    font-size: 1rem;
    color: #64697e;
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    font-weight: 600;
}
.testimonials-section {
    background: var(--color-secondary);
    color: #223460;
    border-radius: 18px;
    margin-bottom: 60px;
    padding: 40px 10px 34px 10px;
}
.testimonials-section h2 { color: var(--color-primary-dark); }
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 18px;
 }
.customer-rating {
    font-size: 1rem;
    color: var(--color-accent);
    margin-top: 6px;
    font-weight: 600;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* Grid/Column visual layouts (ALL FLEX!) */
.feature-grid, .service-grid, .product-highlights, .offer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.feature-grid li,
.service-grid > .service-item,
.product-highlights > .highlighted-product,
.offer-list > .offer-item {
    background: var(--color-card-bg);
    border-radius: 15px;
    box-shadow: 0 1px 8px #13205544;
    padding: 28px 18px 22px 18px;
    margin-bottom: 20px;
    min-width: 200px;
    flex: 1 1 260px;
    transition: box-shadow .24s, transform .22s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.feature-grid li:hover, .service-grid > .service-item:hover, .highlighted-product:hover, .offer-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px) scale(1.035);
    z-index: 2;
}
.feature-grid img, .service-grid img, .highlighted-product img, .offer-item img {
    height: 40px;
    width: 40px;
    margin-bottom: 12px;
}

.service-list, .service-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 20px 0 6px 0;
}
.service-list li, .service-benefits-list li {
    position: relative;
    padding-left: 32px;
}
.service-list li::before, .service-benefits-list li::before {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
    position: absolute;
    left: 0; top: 5px;
    box-shadow: 0 0 10px 2px var(--color-accent-neon);
}
.customer-support-highlight {
    background: var(--color-primary);
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    margin-top: 18px;
    box-shadow: var(--shadow-md);
}
.customer-support-highlight p { color: #fff; font-size: 1rem; }
.customer-support-highlight img { width: 35px; height: 35px; }

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: space-between;
    align-items: flex-end;
    margin: 26px 0 10px 0;
}
.category-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 1.04rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    color: var(--color-accent);
}
.category-nav li {
    padding: 7px 14px;
    background: #fff1e5;
    color: var(--color-accent);
    border-radius: 11px;
    margin-bottom: 6px;
    transition: background .18s, color .18s;
}
.category-nav li:hover {
    background: var(--color-accent);
    color: #fff;
    cursor: pointer;
}
.search-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0 0;
}
.search-tools label {
    color: var(--color-accent-neon);
    font-weight: 600;
    margin-right: 3px;
}
.search-tools input[type="text"] {
    border: none;
    padding: 7px 12px;
    border-radius: 8px;
    background: #202c45;
    color: #fff;
    font-size: 1rem;
    min-width: 140px;
    transition: box-shadow 0.16s;
    box-shadow: 0 1px 3px #203A7640 inset;
}
.search-tools input[type="text"]:focus {
    box-shadow: 0 0 0 2px var(--color-accent-neon);
}
.icon-search img {
    width: 21px;
    height: 21px;
    filter: drop-shadow(0 0 8px var(--color-accent));
}

.highlighted-product {
    background: #213577;
    color: #fff;
    border-radius: 12px;
    padding: 24px 16px 20px 16px;
    min-width: 200px;
    flex: 1 1 210px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 16px #5a8aff22;
}
.highlighted-product h3 { color: var(--color-accent); margin-bottom: 6px; }
.offer-list {
    margin-top: 15px;
}
.offer-item { position: relative; }
.offer-item h3 { color: var(--color-accent); margin-bottom: 7px; }
.promo-validity {
    display: inline-block;
    color: var(--color-accent-neon);
    padding: 3px 12px;
    border-radius: 8px;
    background: #fff1e5;
    font-size: 0.98rem;
    margin-top: 8px;
    font-weight: 600;
}


/* ========= HERO SECTION ========= */
.hero-section {
    padding: 56px 12px 46px 12px;
    margin-bottom: 60px;
    background: linear-gradient(120deg, #1b1e2b 70%, #224488 100%);
    border-radius: 0 0 36px 36px;
    box-shadow: 0 6px 64px #22448833;
}
.hero-section h1 {
    color: var(--color-accent-neon);
    font-size: 2.6rem;
    margin-bottom: 9px;
    letter-spacing: .02em;
    text-shadow: 0 2px 16px #D7561565;
}
.hero-section p {
    color: #E2D9C3;
    font-size: 1.22rem;
    margin-bottom: 24px;
}


/* ========= BUTTONS & CTAs ========= */
.cta-btn,
button,
input[type="submit"] {
    background: var(--color-accent);
    background-image: linear-gradient(90deg,var(--color-accent) 60%, var(--color-accent-neon) 100%);
    color: #fff;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    border: none;
    font-size: 1.1rem;
    padding: 14px 34px;
    border-radius: 30px;
    box-shadow: 0 2px 12px #D7561535;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: background .2s, color .18s, box-shadow .19s, transform .1s;
    display: inline-block;
    margin-top: 10px;
}
.cta-btn:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--color-accent-neon);
    color: #fff;
    box-shadow: 0 4px 22px #FF693A66, 0 0 0 2px var(--color-accent-neon);
    transform: translateY(-2px) scale(1.036);
}
.cta-btn:focus { outline: 2px solid var(--color-accent-neon); }

/* ========== NAVIGATION ========== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--color-secondary);
    font-size: 1.08rem;
    position: relative;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 7px;
    transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
    background: var(--color-accent-neon);
    color: #fff;
    box-shadow: 0 1px 12px #fab8b844;
}
.logo-link img { max-height: 42px; }

/* ========== FOOTER ========== */
footer {
    background: #23283A;
    border-radius: 32px 32px 0 0;
    margin-top: 40px;
    padding: 50px 10px 35px 10px;
    box-shadow: 0 -2px 26px #22346016;
    color: #fff;
}
footer .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    min-width: 220px;
}
.footer-brand img {
    width: 44px; height: 44px;
    filter: drop-shadow(0 2px 4px #223460cc);
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    font-size: 1.01rem;
    color: var(--color-accent);
}
.footer-nav a {
    color: var(--color-accent);
    font-weight: 600;
    transition: color .13s;
}
.footer-nav a:hover { color: var(--color-accent-neon); }
.footer-contact p {
    font-size: 1.01rem;
    color: #D0D7F5;
    margin-bottom: 7px;
}

/* ========== CONTACT INFO ========== */
.contact-info-list {
    margin-top: 12px;
    margin-bottom: 18px;
    font-size: 1.08rem;
}
.contact-info-list dt {
    color: var(--color-accent);
    font-weight: 700;
    margin-top: 10px;
}
.contact-info-list dd {
    margin-left: 0;
    color: var(--color-primary);
}

/* ========== MOBILE MENU STYLES ========== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 19px;
    right: 20px;
    z-index: 101;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent-neon);
    border: none;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 2px 12px #FF693A45;
    transition: background .2s, box-shadow .16s;
}
.mobile-menu-toggle:focus {
    outline: 2px solid #fff;
    background: var(--color-accent);
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(116deg, #192134 88%, #224488 100%);
    box-shadow: 0 0 22px #1b345f73;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity .3s, transform .35s cubic-bezier(.82,0,.43,1.12);
}
.mobile-menu.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    margin: 30px 30px 12px 0;
    font-size: 2.2rem;
    background: var(--color-accent-neon);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    cursor: pointer;
    box-shadow: 0 3px 12px #ff693a55;
    transition: background .18s;
}
.mobile-menu-close:focus { outline: 2px solid #fff; }
.mobile-nav {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 14px 0;
    width: 100vw;
    text-align: center;
    border-radius: 0;
    transition: background .14s, color .18s;
    letter-spacing: 0.02em;
    background: transparent;
}
.mobile-nav a:focus, .mobile-nav a:hover {
    background: var(--color-accent);
    color: #fff;
}


/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
    position: fixed;
    left: 0; bottom: 0; width: 100vw;
    background: var(--color-secondary);
    color: var(--color-primary-dark);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 22px 18px;
    z-index: 300;
    box-shadow: 0 -2px 28px #22448822;
    font-size: 1.04rem;
    font-family: 'Open Sans', Arial, sans-serif;
    animation: slideBannerUp .7s cubic-bezier(.36,.8,.5,1);
}
@keyframes slideBannerUp {
  0% { transform: translateY(120%); opacity: 0; }
  60% { opacity:1; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner button {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 22px;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    margin-left: 7px;
    cursor: pointer;
    box-shadow: 0 2px 8px #d7561536;
    transition: background .19s, color .14s, box-shadow .18s;
}
.cookie-banner button:hover { background: var(--color-accent-neon); }
.cookie-banner .cookie-settings-btn { background: #fff; color: var(--color-accent); border: 2px solid var(--color-accent); }
.cookie-banner .cookie-settings-btn:hover { background: var(--color-accent); color: #fff; border-color: #fff; }

.cookie-modal-bg {
    display: none;
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(25, 33, 52, 0.93);
    z-index: 500;
    align-items: center;
    justify-content: center;
}
.cookie-modal-bg.active { display: flex; }

.cookie-modal {
    background: #fff;
    color: #223460;
    border-radius: 24px;
    box-shadow: 0 8px 48px #13205544;
    padding: 38px 24px 24px 32px;
    max-width: 390px;
    width: 100%;
    text-align: left;
    position: relative;
    font-family: 'Open Sans', Arial, sans-serif;
    animation: popupIn 0.5s cubic-bezier(.65,.18,.48,1.14);
}
@keyframes popupIn {
  0% { transform: scale(0.8) translateY(60px); opacity: 0 }
  100% { transform: scale(1) translateY(0); opacity: 1 }
}
.cookie-modal h2 {
    color: var(--color-accent);
    font-size: 1.36rem;
    margin-bottom: 10px;
}
.cookie-modal .cookie-category {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-modal .cookie-category label {
    font-weight: 600;
    color: #15346A;
}
.cookie-modal .cookie-category input[type=checkbox] {
    width: 22px;
    height: 22px;
}
.cookie-modal .cookie-category .cookie-essential {
    color: var(--color-success);
    margin-left: 12px;
    font-size: 0.98rem;
    font-weight: 700;
}
.cookie-modal .cookie-modal-close {
    position: absolute;
    top: 14px; right: 15px;
    font-size: 1.8rem;
    color: var(--color-accent-neon);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 30px; height: 30px;
}
.cookie-modal-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}
.cookie-modal .cookie-btn {
    padding: 9px 20px;
    border-radius: 21px;
    font-size: 1.02rem;
    border: none;
    font-weight: 700;
    background: var(--color-accent);
    color: #fff;
    margin-right: 0;
    transition: background .16s, color .13s;
}
.cookie-modal .cookie-btn:hover {
    background: var(--color-accent-neon);
}

/* ================ RESPONSIVE DESIGN (Mobile-first) ================ */
@media (max-width: 1023px) { 
    .container { max-width: 98vw; }
    .header-flex { gap: 14px; }
    .main-nav a { font-size: 1rem; }
    .content-wrapper { max-width: 98vw; }
    .hero-section h1 { font-size: 2rem; }
    .footer-brand,
    .footer-contact,
    .footer-nav { min-width: 140px; }
}

@media (max-width: 900px) {
    .header-flex { flex-direction: column; gap: 7px; justify-content: flex-start; align-items: flex-start; min-height: 60px; }
    footer .container {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .header-flex { flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; }
    .main-nav { display: none; }
    .cta-btn { display: none; }
    .mobile-menu-toggle {
        display: block;
    }
    .content-grid, .feature-grid, .service-grid, .testimonials-grid, .product-highlights, .offer-list {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .testimonials-section { padding: 32px 4px 22px 4px; border-radius: 0; }
    .testimonial-card { min-width: 88vw; }
    .category-nav {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    .card-container, .feature-grid, .service-grid {
        flex-direction: column;
        gap: 15px;
    }
    .footer-brand { min-width: 120px; }
}
@media (max-width: 600px) {
    .container { padding: 0 5px; }
    .hero-section { padding: 34px 0 27px 0; border-radius: 0 0 28px 28px; }
    .section { padding: 24px 7px; margin-bottom: 34px; border-radius: 10px; }
}
@media (max-width: 430px) {
    h1 { font-size: 1.27rem; }
    h2 { font-size: 1.09rem; }
    h3 { font-size: 1rem; }
    .category-nav ul, .category-nav li { font-size: 0.96rem; }
    .cookie-modal { padding: 24px 7px 14px 13px; }
}

/* ========== MISC VISUALS & ENHANCEMENTS ========== */
::-webkit-scrollbar {
    width: 10px;
    background: #192134;
}
::-webkit-scrollbar-thumb {
    background: #22448855;
    border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }
/* Remove link outlines on mouse but not keyboard */
a:focus:not(:focus-visible) { outline: none; }

/* Subtle NEON GLOW for Tech-Futuristic Accents */
.cta-btn, .mobile-menu-toggle, .cookie-banner button, .cookie-modal .cookie-btn {
    box-shadow: 0 0 12px 1px var(--color-accent-neon), 0 2px 20px #22346011;
    text-shadow: 0 1px 10px #D7561570;
}

/* Misc whitespace & margin tweaks for non-overlap */
.card, .feature-grid > li, .service-grid > .service-item, .highlighted-product, .offer-item {
    margin-right: 0;
    margin-bottom: 20px;
}
.section:not(:last-child) { margin-bottom: 60px; }

/* ================== END ================== */
