/* ==== 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,
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display:block;}
body {line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}

/* ==== FONT IMPORTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --color-primary: #23272A;
  --color-secondary: #FFFFFF;
  --color-accent: #B8C1CD;
  --color-neon: #61FFE2;
  --color-neon2: #8D7AFF;
  --color-bg-dark: #16181A;
  --color-bg-card: #23272A;
  --color-shadow: rgba(34, 246, 239, 0.08);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-xxl: 32px;
  --transition: 0.25s cubic-bezier(.5,.15,.5,.85);
  --shadow-main: 0 4px 24px 0 var(--color-shadow);
  --shadow-hover: 0 0 0 2px var(--color-neon2), 0 4px 32px 0 var(--color-shadow);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-accent);
  font-size: var(--font-size-base);
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* ==== BASE TYPOGRAPHY ==== */
h1, h2, h3, h4, h5 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
  text-shadow: 0 1px 14px var(--color-shadow);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  text-shadow: 0 1px 10px var(--color-shadow);
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 700;
}
h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul, ol, li {
  color: var(--color-accent);
  font-size: 1rem;
  font-family: var(--font-body);
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}

/* ==== LINKS ==== */
a {
  color: var(--color-neon2);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-neon);
  text-decoration: underline;
}

/* ==== CONTAINER ==== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== SECTION LAYOUT ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-section {
  background: rgba(35,39,42,0.93);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-main);
  margin-bottom: 8px;
}

/* ==== FLEX UTILITIES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  padding: 28px 20px 24px 20px;
  min-width: 250px;
  flex: 1 1 320px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px) scale(1.025);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: rgba(29,31,34,0.98);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover {
  box-shadow: 0 0 0 2px var(--color-neon), var(--shadow-main);
  transform: translateY(-3px);
}
.feature-grid img {
  height: 42px;
  width: 42px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 10px var(--color-neon));
}

/* ==== FEATURE ITEM ==== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-main);
  min-width: 260px;
  max-width: 650px;
  transition: box-shadow var(--transition), transform var(--transition);
  border-left: 4px solid var(--color-neon2);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.1rem;
  text-align: center;
  font-weight: 600;
}
.testimonial-card span {
  color: var(--color-accent);
  font-size: 1rem;
  font-style: italic;
  text-align: right;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.02) translateY(-2px);
}

/* ==== BUTTONS & CTAS ==== */
.cta-primary,
button,
input[type="submit"] {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-neon2);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition), color var(--transition);
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  margin-top: 10px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 10px var(--color-shadow);
}
.cta-primary:hover,
button:hover,
input[type="submit"]:hover,
.cta-primary:focus,
button:focus,
input[type="submit"]:focus {
  background: var(--color-neon);
  color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-neon);
  transform: translateY(-2px) scale(1.03);
}

/* ==== LISTS, ULs (including contact blocks) ==== */
ul {
  padding-left: 20px;
  margin-bottom: 18px;
}
ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
ul li img {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}
ul li::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-neon2);
  opacity: 0.3;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: linear-gradient(90deg, #20232a 80%, #272a34 100%);
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.11);
  position: sticky;
  top: 0;
  z-index: 999;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  min-height: 64px;
  padding: 18px 0;
}
nav .logo {
  margin-right: 32px;
  display: flex;
}
nav .logo img {
  max-height: 38px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-accent);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  text-shadow: 0 1px 8px var(--color-shadow);
}
header nav a.cta-primary {
  margin-left: auto;
  background: var(--color-neon2);
  color: var(--color-secondary);
  font-weight: bold;
  text-shadow: 0 1px 7px var(--color-shadow);
  border-radius: var(--radius-lg);
}
header nav a.cta-primary:hover {
  background: var(--color-neon);
  color: var(--color-primary);
}
header nav a:hover,
header nav a:focus {
  color: var(--color-neon);
  background: rgba(97,255,226,0.11);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-neon);
  border: none;
  font-size: 2.2rem;
  margin-left: auto;
  cursor: pointer;
  user-select: none;
  z-index: 1031;
  transition: color var(--transition);
}
.mobile-menu-toggle:hover {
  color: var(--color-neon2);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(22,24,26, 0.96);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 34px 30px 10px 20px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.7,.1,.6,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-neon2);
  border: none;
  font-size: 2.1rem;
  margin-bottom: 28px;
  margin-right: 0;
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-menu-close:hover {
  color: var(--color-neon);
  transform: scale(1.16);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  max-width: 344px;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 18px 0 12px 8px;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
  background: transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon2);
  background: rgba(97,255,226,0.09);
}
@media (max-width: 1100px) {
  header nav {
    gap: 3px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 12px;
  }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 850px) {
  .feature-grid > div {
    min-width: 45vw;
  }
}
@media (max-width: 690px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: unset;
    width: 100%;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header nav a:not(.logo):not(.cta-primary) {
    font-size: 0.99rem;
    padding: 7px 11px;
  }
}
@media (max-width: 1000px) {
  header nav a {
    font-size: 1rem;
    padding: 8px 7px;
  }
}
@media (max-width: 800px) {
  header nav {
    flex-wrap: wrap;
    gap: 2px;
  }
}
@media (max-width: 720px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 721px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== FOOTER ==== */
footer {
  background: #1a1d1f;
  padding: 38px 20px 16px 20px;
  color: var(--color-accent);
  border-top: 3px solid var(--color-neon2);
  margin-top: 56px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}
footer nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.97rem;
  margin-right: 6px;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-neon);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 0.98rem;
}
.footer-logo {
  margin: 12px 0 14px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.footer-logo img {
  height: 34px;
  filter: drop-shadow(0 0 14px var(--color-neon2));
}
.footer-hours {
  color: var(--color-neon2);
  font-size: 0.96rem;
  font-family: var(--font-display);
  opacity: 0.77;
}
@media (max-width: 700px) {
  .footer-contact, footer nav {
    flex-direction: column;
    gap: 7px;
  }
  .footer-logo {
    justify-content: center;
  }
}

/* ==== BLOG, ASIDE, ARTICLE ==== */
article {
  background: var(--color-bg-card);
  border-radius: var(--radius-sm);
  padding: 22px 16px 18px 16px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-main);
  transition: box-shadow var(--transition), transform var(--transition);
}
article:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.02);
}
article h3 {
  color: var(--color-neon2);
}
article a {
  color: var(--color-neon2);
  font-weight: 600;
  text-decoration: underline;
}
article a:hover {
  color: var(--color-neon);
}
aside {
  background: rgba(40,42,44,0.93);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  padding: 20px 12px;
  margin-top: 4px;
  margin-bottom: 22px;
}
aside h4 {
  color: var(--color-neon);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: rgba(23, 29, 31, 0.95);
  color: var(--color-secondary);
  padding: 24px 16px;
  box-shadow: 0 -6px 32px 0 rgba(0,0,0,0.31);
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  font-size: 1rem;
  animation: slide-up 0.8s cubic-bezier(.65,0,.53,1);
}
@keyframes slide-up {
  0% { transform: translateY(120%); opacity: 0; }
  85% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
}
.cookie-banner button,
.cookie-banner .cta-primary {
  padding: 10px 24px;
  font-size: 0.98rem;
  border-radius: var(--radius-md);
  margin-top: 0;
  background: var(--color-neon2);
  color: var(--color-secondary);
  border: none;
  font-family: var(--font-display);
  font-weight: bold;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner button:hover,
.cookie-banner .cta-primary:hover {
  background: var(--color-neon);
  color: var(--color-primary);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: var(--color-neon2);
  border: 1.5px solid var(--color-neon2);
  padding: 10px 13px;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-neon2);
  color: var(--color-secondary);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12, 19, 23, 0.84);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.25s cubic-bezier(.5,0,.6,1);
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #24272b;
  color: var(--color-secondary);
  border-radius: var(--radius-lg);
  min-width: 320px;
  max-width: 98vw;
  padding: 36px 32px 32px 32px;
  box-shadow: 0 12px 40px var(--color-shadow);
  font-family: var(--font-body);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 1202;
  animation: pop-in 0.25s cubic-bezier(.5,.9,.1,1);
}
@keyframes pop-in {
  0% { transform: scale(0.9) translateY(6vh); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-neon2);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 11px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  background: #1c1f23;
  color: var(--color-neon2);
  font-weight: bold;
  border-radius: 8px;
  padding: 9px 10px 9px 13px;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--color-neon2);
  width: 17px;
  height: 17px;
}
.cookie-modal .cookie-switch {
  margin-left: 6px;
  accent-color: var(--color-neon2);
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 6px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-neon2);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--color-neon);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 700px) {
  section, .text-section {
    padding: 16px 7px;
  }
  .container {
    padding: 0 2px;
    max-width: 100vw;
  }
  h1 {
    font-size: 2.07rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .card {
    padding: 14px 8px;
  }
  .feature-grid > div {
    padding: 16px 7px;
  }
  .content-wrapper {
    gap: 8px;
  }
  .testimonial-card {
    padding: 11px 7px;
  }
  .cookie-modal {
    min-width: 97vw;
    padding: 21px 7px 21px 8px;
  }
}

/* ==== NEON ACCENTS, MICRO-INTERACTIONS ==== */
.cta-primary, button, input[type="submit"], .feature-grid > div, .card, article, .testimonial-card {
  outline: none;
}
.cta-primary:active,
button:active,
.feature-grid > div:active,
.card:active,
article:active
{
  box-shadow: 0 0 0 4px var(--color-neon2), 0 4px 17px var(--color-shadow);
}

/* Subtle animated border glow for main CTA on focus */
.cta-primary:focus-visible {
  box-shadow: 0 0 0 4px var(--color-neon);
  background: var(--color-neon2);
}

/* ==== IMAGE STYLES ==== */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==== GENERAL CARD LAYOUT FOR CONSISTENCY ==== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ==== MISC: ALL OTHER BLOCKS ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #23272A;
}
::-webkit-scrollbar-thumb {
  background: var(--color-neon2);
  border-radius: 10px;
}

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