/* ==== CSS RESET & BASE ==== */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  background: #21242a;
  background-color: #21242a;
  color: #f4f4f9;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #dde031;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1rem;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: #dde031;
  letter-spacing: 1px;
  font-weight: 700;
  text-shadow: 1px 1px 0 #474d59;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #dde031;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #f4f4f9;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #dde031;
}
p, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #f4f4f9;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 1.2rem;
  color: #b7bdc9;
  font-weight: 400;
}

/************ HEADER/NAV BAR ************/
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #233142;
  padding: 16px 20px;
  border-bottom: 2px solid #434952;
  box-shadow: 0 2px 8px rgba(25,26,32,0.16);
  z-index: 90;
  position: relative;
}
.nav-bar img {
  height: 40px;
}
.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  color: #f4f4f9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #dde031;
  transition: width 0.2s;
  margin-top: 2px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.cta-btn {
  background: #dde031;
  color: #233142;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 10px 26px;
  box-shadow: 0 2px 6px 0 rgba(30,30,30,0.07);
  margin-left: 24px;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  cursor: pointer;
  outline: none;
  position: relative;
  text-align: center;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #f4f4f9;
  color: #233142;
  box-shadow: 0 4px 16px 0 #dde03199;
}

.secondary-link {
  color: #dde031;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 1px dashed #dde031;
  padding-bottom: 2px;
  transition: color 0.16s;
}
.secondary-link:hover {
  color: #fff;
}

/************ MOBILE NAVIGATION ************/
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #dde031;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  z-index: 130;
  outline: none;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #fff;
}
.mobile-menu {
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background: #272a32;
  box-shadow: 4px 0 40px 0 #232942ba;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.5,.24,.24,1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 20px 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #dde031;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 30px;
  cursor: pointer;
  outline: none;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav a {
  color: #dde031;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 10px 0;
  border-bottom: 1px solid #353942;
  transition: background 0.22s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #181b22;
  color: #fff;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/************ FOOTER ************/
footer {
  padding: 40px 20px 20px 20px;
  background: #23272e;
  border-top: 2px solid #444950;
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.footer-nav nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #b7bdc9;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.19s;
}
.footer-nav a:hover {
  color: #dde031;
}
.footer-nav p {
  color: #7d8594;
  font-size: 0.95rem;
  margin-top: 8px;
}

/************ FLEXBOX SHARED COMPONENTS ************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #262b32;
  border-radius: 13px;
  box-shadow: 0 2px 14px 0 #1e1e1e19;
  padding: 24px;
  min-width: 270px;
  flex: 1 1 330px;
  border: 1px solid #333943;
  transition: box-shadow 0.22s, border 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px #dde03122, 0 4px 14px #10121420;
  border: 1px solid #dde031;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f4f4f9;
  color: #233142;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 #10121445;
  margin-bottom: 24px;
  transition: box-shadow 0.19s, border 0.18s;
  border-left: 8px solid #dde031;
  flex-direction: column;
  min-width: 220px;
}
.testimonial-card blockquote,
.testimonial-card p {
  color: #233142;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card footer {
  color: #7d8594;
  font-size: 0.99rem;
  font-style: normal;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px #dde03133, 0 2px 10px #23294233;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #242832;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 #23294229;
  padding: 22px;
  min-width: 200px;
  border: 1px solid #2e3340;
  margin-bottom: 20px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, border 0.13s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: grayscale(50%) brightness(1.1) contrast(110%);
}
.feature-item:hover {
  border: 1.5px solid #dde031;
  box-shadow: 0 8px 32px #dde03126, 0 1.5px 10px #2329421a;
}

/********* SECTION LAYOUTS (flex) **********/
.features-grid, .service-list, .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.features-grid {
  align-items: stretch;
  justify-content: space-between;
}
.category-list {
  justify-content: space-between;
}
.category-item {
  background: #242832;
  border-radius: 12px;
  box-shadow: 0 2.5px 16px #23294229;
  padding: 22px;
  min-width: 180px;
  flex: 1 1 230px;
  transition: box-shadow 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border-left: 6px solid #dde031;
}
.category-item img {
  width: 36px;
  height: 36px;
  filter: grayscale(45%) brightness(1.2) contrast(130%);
}
.category-item:hover{
  box-shadow: 0 2px 20px #dde0311f, 0 2px 9px #10121437;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-item {
  background: #242832;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 #23294224;
  padding: 20px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  border-left: 5px solid #dde031;
}
.featured-item {
  background: #282c33;
  padding: 17px 24px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #dde031;
  box-shadow: 0 1.5px 10px #dde03110;
}

/********** MISC COMPONENTS ***********/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: none;
  padding: 0;
}
.snippet-list {
  margin-left: 1.2em;
  margin-bottom: 12px;
}
.snippet-list li {
  margin-bottom: 8px;
}
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 22px;
  background: #232742;
  color: #dde031;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2.5px 18px #dde03117;
}
.price-table th, .price-table td {
  padding: 16px 16px;
  border-bottom: 1px solid #2d2d4e;
  font-weight: 600;
  text-align: left;
}
.price-table th {
  background: #233142;
  color: #dde031;
  font-size: 1.08rem;
}
.price-table td {
  color: #f4f4f9;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  background: #232742;
}
.price-table tr:last-child td {
  border-bottom: none;
}

/************ TABLES ************/
table {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}
th { font-weight: bold; }

/************ CTA SECTION ************/
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

/************ RESPONSIVE DESIGN ************/
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding: 0 1vw;
  }
  .features-grid, .category-list, .content-grid {
    gap: 16px;
  }
  .card-container {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .features-grid, .category-list, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-nav nav {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2{
    font-size: 1.32rem;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .container {
    max-width: 97vw;
    padding: 0 1vw;
  }
  .features-grid, .category-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card, .card, .category-item, .feature-item {
    min-width: unset;
    width: 100%;
  }
  .price-table th, .price-table td {
    padding: 10px 5px;
    font-size: 0.93rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .cta-btn {
    margin-left: 0;
    width: 100%;
    margin-top: 12px;
    text-align: center;
  }
  .footer-nav {
    gap: 9px;
    padding-top: 18px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.28rem;
  }
  .section, section {
    padding: 22px 0 12px 0;
  }
  .nav-bar {
    flex-direction: column;
    gap: 3px;
  }
  .card, .testimonial-card, .category-item, .feature-item {
    padding: 10px 7px;
  }
}

/************ HOVERS & TRANSITIONS ************/
.category-item, .feature-item, .card,
.service-item, .testimonial-card, .cta-btn,
.secondary-link {
  transition: box-shadow 0.15s, border 0.13s, background 0.15s, color 0.16s;
}

/************ MISCELLANEOUS ************/
blockquote {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
blockquote:before {
  color: #dde031;
  content: open-quote;
  font-size: 2em;
  line-height: 0.1em;
  vertical-align: -0.4em;
  margin-right: 7px;
}
blockquote:after {
  content: close-quote;
  color: #dde031;
  font-size: 2em;
  vertical-align: -0.25em;
  margin-left: 7px;
}
hr {
  border: none;
  border-top: 1.5px solid #353942;
  margin: 28px 0;
}

/************ COOKIE CONSENT BANNER ************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232742;
  color: #dde031;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  z-index: 2200;
  box-shadow: 0 -4px 28px #2329426a;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookie-banner-slideup 0.5s cubic-bezier(.77,0,.175,1);
}
@keyframes cookie-banner-slideup {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #dde031;
  font-size: 1.06rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 7px;
}
.cookie-btn {
  background: #21242a;
  color: #dde031;
  border: 1.5px solid #dde031;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  margin: 0 3px;
  transition: background 0.22s, color 0.17s, border 0.17s;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #dde031;
  color: #21242a;
}

/************ COOKIE CONSENT MODAL ************/
.cookie-modal-overlay {
  position: fixed;
  z-index: 2250;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,33,40,.73);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.19s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #f4f4f9;
  color: #232742;
  border-radius: 12px;
  max-width: 95vw;
  width: 370px;
  padding: 32px 24px;
  box-shadow: 0 18px 54px #23294231, 0 2px 6px #dde03128;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalUp 0.38s cubic-bezier(.37,.01,.78,.85);
}
@keyframes modalUp {
  from { transform: translateY(54px) scale(0.95); opacity:0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #232742;
  margin: 0 0 10px 0;
}
.cookie-modal p {
  color: #232742;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #232742;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 44px;
  height: 24px;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #dde031;
  border-radius: 14px;
  transition: background 0.22s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #232742;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  left: 4px;
  top: 3px;
  width: 17px;
  height: 17px;
  background: #232742;
  border-radius: 10px;
  transition: 0.22s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(17px);
  background: #dde031;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  min-width: 90px;
}

/************ SPECIAL: ESSENTIAL COOKIES ALWAYS ON & DISABLED ************/
.cookie-category.essential .toggle-switch {
  pointer-events: none;
  opacity: 0.72;
}
.cookie-category.essential {
  font-weight: 700;
}

/************ SCROLLBAR STYLES ************/
::-webkit-scrollbar {
  width: 10px;
  background: #21242a;
}
::-webkit-scrollbar-thumb {
  background: #474d59;
  border-radius: 6px;
}

/************ BUTTONS & LINKS ************/
button, .cookie-btn {
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
}
button:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 2px #dde03180;
}

/************ INDUSTRIAL MODERN ACCENTS ************/
.section, section {
  background: #21242a;
  border-radius: 14px;
  box-shadow: 0 2.5px 16px #23294221;
  margin-bottom: 60px;
}

/************ Z-INDEX LAYERS ************/
.mobile-menu { z-index: 1001; }
.cookie-banner { z-index: 2200; }
.cookie-modal-overlay { z-index: 2250; }
header { z-index: 100; position: relative; }

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

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