/* ========================================================================
   RESET & NORMALIZE (Industrial Modern)
   ======================================================================== */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #13181c;
  color: #F2EBD9;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #15908D;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #F2EBD9;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}
small {
  font-size: 0.875em;
}
hr {
  border: none;
  border-top: 1px solid #333a40;
  margin: 32px 0;
}

/* Scrollbar for dark/industrial feel */
::-webkit-scrollbar {
  width: 10px;
  background: #222c33;
}
::-webkit-scrollbar-thumb {
  background: #333d45;
  border-radius: 4px;
}

/* ========================================================================
   TYPOGRAPHY (Industrial Modern)
   ======================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  letter-spacing: 0.015em;
  color: #F2EBD9;
  font-weight: 700;
  line-height: 1.22;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
p, li {
  color: #f3f2ed;
  font-size: 1rem;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.2rem;
  color: #15908D;
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0.92;
}

/* ========================================================================
   LAYOUT CONTAINERS
   ======================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  background: #1a232a;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(22,37,52,0.24);
  border: 1.5px solid #222c33;
  padding: 28px 24px;
  transition: box-shadow 0.25s, border 0.25s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 2px 36px 0 rgba(34,60,85,0.38);
  border-color: #15908D;
  transform: translateY(-2px) scale(1.022);
  z-index: 1;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F2EBD9;
  color: #13181c;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(30,30,30,0.15);
  border: 1.5px solid #c9bbb2;
  min-width: 230px;
  max-width: 540px;
  transition: box-shadow 0.22s, border 0.18s;
}
.testimonial-card p {
  color: #13181c;
}
.testimonial-card:hover {
  box-shadow: 0 2px 24px 0 rgba(55,55,45,0.17);
  border-color: #245078;
}
.testimonial-card .testimonial-name {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #245078;
}
.testimonial-card .stars {
  font-size: 1.12em;
  color: #15908D;
  letter-spacing: 0.08em;
  margin-top: -7px;
  margin-bottom: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================================================================
   HEADER & NAVIGATION
   ======================================================================== */
header {
  width: 100%;
  background: #222c33;
  border-bottom: 2px solid #304055;
  padding: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 0;
  padding: 0 24px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #F2EBD9;
  font-weight: 600;
  padding: 0 2px;
  position: relative;
  letter-spacing: 0.015em;
  transition: color 0.16s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #15908D;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: width 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #15908D;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #15908D;
  cursor: pointer;
  padding: 9px 13px;
  margin-left: 20px;
  border-radius: 5px;
  transition: background 0.18s;
  z-index: 100;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #222c33;
  color: #F2EBD9;
}

/* ========================================================================
   MOBILE MENU
   ======================================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(29,33,40,0.98);
  z-index: 900;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.68,0,0.34,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.93;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: #F2EBD9;
  background: none;
  border: none;
  margin: 20px 24px 10px 0;
  cursor: pointer;
  z-index: 1001;
  padding: 7px 13px;
  border-radius: 4px;
  transition: background 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #245078;
  color: #F2EBD9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 32px 32px 32px;
  width: 100%;
}
.mobile-nav a {
  color: #F2EBD9;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.30rem;
  font-weight: 700;
  padding: 14px 0 5px 0;
  letter-spacing: 0.01em;
  border-bottom: 1px solid #222c33;
  transition: color 0.19s;
  border-radius: 2px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #15908D;
  background: #1a232a;
}

/* ========================================================================
   BUTTONS & CTAs
   ======================================================================== */
.cta, .cta.primary, .cta.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 6px;
  padding: 12px 30px;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, border 0.18s;
  background: #245078;
  color: #F2EBD9;
  box-shadow: 0 2px 8px rgba(30,34,38,0.13);
  letter-spacing: 0.01em;
}
.cta.primary {
  background: #245078;
  color: #F2EBD9;
}
.cta.secondary {
  background: #15908D;
  color: #F2EBD9;
}
.cta:hover, .cta:focus {
  background: #15908D;
  color: #1c2328;
  box-shadow: 0 2px 24px 0 rgba(30,60,70,0.16);
  outline: none;
}
button, input[type=submit] {
  font-family: inherit;
  font-size: inherit;
  border: none;
  border-radius: 5px;
  background: #245078;
  color: #F2EBD9;
  padding: 11px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
}
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: #15908D;
  color: #fff;
}

/* ========================================================================
   HERO SECTIONS
   ======================================================================== */
.hero {
  background: linear-gradient(110deg, #19242d 62%, #245078 100%);
  color: #F2EBD9;
  padding: 56px 0 40px 0;
  margin-bottom: 60px;
  min-height: 260px;
  width: 100%;
  box-shadow: 0 2px 24px 0 rgba(24,24,28,0.10);
  position: relative;
  z-index: 1;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
}
/* Blog hero */
.blog-hero {
  background: #1a232a;
  color: #F2EBD9;
  padding: 50px 0 24px 0;
  margin-bottom: 40px;
  box-shadow: 0 2px 24px 0 rgba(28,40,52,0.09);
}

/* ========================================================================
   FEATURE SECTIONS
   ======================================================================== */
.features, .bestsellers-preview, .authors-preview, .newsletter, .bestsellers-list, .blog-list, .faq {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #171f24;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(21,32,44,0.12);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  background: #222c33;
  border-radius: 10px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 1px 6px rgba(28,60,70,0.12), 0 1.5px 0 #333d45;
  border: 1.5px solid #233;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: box-shadow 0.19s, border 0.17s, transform 0.12s;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
}
.feature:hover {
  box-shadow: 0 4px 21px 0 rgba(21,144,141,0.16);
  border-color: #15908D;
  transform: translateY(-2px) scale(1.02);
  z-index: 2;
}

/* ========================================================================
   LISTS & CATEGORIES
   ======================================================================== */
.bestseller-list, .ebook-list, .authors-list, .value-list, .download-benefits, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 30px 0 10px 0;
  padding-left: 18px;
}
.bestseller-list li, .ebook-list li, .authors-list li, .value-list li, .download-benefits li {
  font-size: 1.02rem;
  color: #F2EBD9;
  position: relative;
  padding-left: 16px;
}
.bestseller-list li:before, .ebook-list li:before, .authors-list li:before, .value-list li:before, .download-benefits li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #15908D;
}
.value-list {
  gap: 17px;
}
.value-list img {
  vertical-align: middle;
  width: 20px; height: 20px;
  margin-right: 7px;
}
.ebook-list li span, .authors-list li span {
  color: #15908D;
  font-size: 0.98em;
}

.category-tabs, .blog-categories {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
  margin: 20px 0 10px 0;
}
.category-tabs a, .blog-categories a {
  background: #19242d;
  color: #F2EBD9;
  padding: 6px 18px;
  border-radius: 5px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: 1.3px solid #222c33;
  transition: background 0.13s, color 0.13s, border 0.12s;
}
.category-tabs a:hover, .category-tabs a:focus, .blog-categories a:hover, .blog-categories a:focus {
  background: #245078;
  color: #fff;
  border-color: #15908D;
}

/* ========================================================================
   AUTHOR/TEAM PROFILES & INTERVIEWS
   ======================================================================== */
.author-profile, .team-member, .interview-snippet, .featured-author {
  margin-bottom: 24px;
  padding: 24px 20px;
  background: #222c33;
  border-radius: 11px;
  box-shadow: 0 1px 7px 0 rgba(35,55,62,0.11);
  border: 1.3px solid #19242d;
}
.author-profile h2, .team-member strong {
  color: #15908D;
  font-size: 1.3rem;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
}
.author-profile a {
  font-size: 0.94rem;
  color: #245078;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.16s;
}
.author-profile a:hover {
  color: #15908D;
}
.team-member-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.team-quote {
  color: #F2EBD9;
  display: block;
  font-size: 1.01rem;
  font-style: italic;
  margin-top: 2px;
}
.interview-snippet blockquote {
  color: #245078;
  font-size: 1rem;
  margin-bottom: 8px;
  font-style: italic;
}
.interview-snippet cite {
  display: block;
  color: #15908D;
  font-size: 0.93rem;
}

/* ========================================================================
   BLOG TEASERS & FEATURED POSTS
   ======================================================================== */
.blog-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-post {
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 380px;
  background: #222c33;
  padding: 20px 18px;
  border-radius: 10px;
  border: 1.2px solid #333d45;
  box-shadow: 0 1px 7px rgba(25,80,120,0.09);
  margin-bottom: 10px;
  transition: box-shadow 0.15s, border 0.13s;
}
.blog-post:hover {
  border-color: #15908D;
  box-shadow: 0 2px 16px 0 rgba(21,144,141,0.14);
}
.blog-post a {
  color: #15908D;
  text-decoration: underline;
  margin-top: 6px;
  font-weight: 580;
  font-size: 0.99em;
}

.featured-post {
  background: #15908D;
  color: #fff;
  border-radius: 12px;
  padding: 27px 24px;
  margin: 16px 0 18px 0;
  box-shadow: 0 1px 12px 0 rgba(21,144,141,0.12);
}
.featured-post h3 {
  color: #fff;
}
.featured-post a {
  color: #1a232a;
  font-weight: 700;
  margin-top: 7px;
  display: inline-block;
  text-decoration: underline;
}

/* ========================================================================
   FORM ELEMENTS
   ======================================================================== */
form {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  padding: 12px 16px;
  background: #19242d;
  color: #F2EBD9;
  border-radius: 6px;
  border: 1.2px solid #2a3948;
  transition: border 0.18s, background 0.14s;
  outline: none;
  min-width: 140px;
}
input:focus, textarea:focus {
  border-color: #15908D;
  background: #222c33;
}
input[type=email], input[type=search] {
  width: 230px;
  max-width: 100%;
}
.search-bar {
  display: flex;
  flex-direction: row;
  gap: 9px;
  margin: 18px 0 13px 0;
  width: 100%;
}
.search-bar input[type=search] {
  flex: 1 1 150px;
}
.search-bar button {
  background: #15908D;
  border-radius: 5px;
  color: #fff;
  padding: 8px 16px;
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.14s;
}
.search-bar button:hover, .search-bar button:focus {
  background: #245078;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  width: 100%;
  background: #19242d;
  color: #F2EBD9;
  border-top: 1.5px solid #222c33;
  margin-top: 80px;
  padding: 0;
  box-shadow: 0 -1.5px 16px rgba(25,30,33,0.02);
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  padding: 35px 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
}
.footer-brand img {
  width: 38px; height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #F2EBD9;
  font-size: 0.96rem;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #15908D;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 17px; height: 17px;
}

/* ========================================================================
   SPECIALS: FAQ, LEGAL, NEWSLETTER, THANK-YOU
   ======================================================================== */
.faq-list li {
  background: #222c33;
  padding: 17px 18px 12px 14px;
  border-radius: 10px;
  border: 1.2px solid #245078;
  margin-bottom: 18px;
}
.faq-list strong {
  color: #15908D;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
}
.faq-list p {
  margin-bottom: 0;
  color: #f2ebd9;
}
.legal {
  background: #171f24;
  border-radius: 11px;
  box-shadow: 0 1px 8px 0 rgba(21,32,44,0.11);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.newsletter {
  background: #245078;
  color: #F2EBD9;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(25,80,120,0.12);
}
.newsletter input[type=email] {
  background: #F2EBD9;
  color: #19242d;
  border: 1.3px solid #15908D;
}
.newsletter input[type=email]:focus {
  border: 1.4px solid #F2EBD9;
}
.newsletter .cta {
  background: #15908D;
  color: #fff;
}
.newsletter .cta:hover, .newsletter .cta:focus {
  background: #F2EBD9;
  color: #245078;
}
.thank-you {
  background: #171f24;
  border-radius: 12px;
  padding: 40px 20px;
}
.thank-you .confirmation-message {
  color: #15908D;
  font-weight: 600;
  margin-bottom: 20px;
}
.next-steps {
  margin-top: 8px;
}
.next-steps ul {
  margin-top: 7px;
}

/* ========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .footer .container, .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  footer .container {
    padding: 30px 12px 24px 12px;
  }
  .content-grid, .card-container, .feature-grid, .blog-teasers {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    padding: 0 10px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer .container, footer .container, .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid, .blog-teasers, .bestseller-grid, .bestsellers-list, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 21px!important;
    align-items: stretch!important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  form {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
@media (max-width: 550px) {
  html { font-size: 14px; }
  .container, .footer .container {
    padding: 0 5px;
  }
  .hero, .features, .bestsellers-preview, .authors-preview, .newsletter, .bestsellers-list, .faq, .legal, .thank-you {
    padding: 30px 6px !important;
    margin-bottom: 46px !important;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .footer-brand img {
    width: 32px; height: 32px;
  }
}

/* ========================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #222c33;
  color: #F2EBD9;
  padding: 18px 22px 16px 22px;
  box-shadow: 0 -2px 16px 0 rgba(30,40,48,0.16);
  z-index: 1050;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 1;
  transition: transform 0.24s, opacity 0.21s;
}
.cookie-banner.closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1;
  font-size: 1rem;
  color: #F2EBD9;
  margin: 0 18px 0 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-btn, .cookie-btn.primary, .cookie-btn.secondary {
  border: none;
  border-radius: 4px;
  padding: 9px 19px;
  font-weight: 700;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  background: #245078;
  color: #fff;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, box-shadow 0.13s;
}
.cookie-btn.primary {
  background: #15908D;
}
.cookie-btn.secondary {
  background: #F2EBD9;
  color: #245078;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1a232a;
  color: #F2EBD9;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #245078;
  color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #15908D;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.93);
  min-width: 320px;
  max-width: 98vw;
  width: 450px;
  background: #19242d;
  color: #F2EBD9;
  border-radius: 15px;
  box-shadow: 0 10px 40px 0 rgba(25,40,60,0.45);
  z-index: 1100;
  padding: 40px 28px 28px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal__close {
  position: absolute;
  right: 25px; top: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F2EBD9;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal__close:hover {
  color: #15908D;
}
.cookie-modal h2 {
  color: #15908D;
  font-size: 1.27rem;
  margin-bottom: 14px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 18px 0 22px 0;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal__category label {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #F2EBD9;
  flex: 1;
  margin-left: 5px;
}
.cookie-modal__toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-left: 0;
}
.cookie-modal__toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal__slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #333d45;
  transition: background 0.3s;
  border-radius: 22px;
}
.cookie-modal__toggle input:checked + .cookie-modal__slider {
  background: #15908D;
}
.cookie-modal__slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.cookie-modal__toggle input:checked + .cookie-modal__slider:before {
  transform: translateX(20px);
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 8px 17px 9px;
  }
  .cookie-banner__actions {
    align-self: flex-end;
    gap: 7px;
    width: 100%;
  }
  .cookie-modal {
    min-width: 95vw;
    width: 95vw;
    left: 50%;
    right: auto;
    padding: 20px 4vw 21px 4vw;
  }
  .cookie-modal h2 {
    font-size: 1.08rem;
  }
}
/* ========================================================================
   Z-INDEX LAYERS
   ======================================================================== */
header, .main-nav, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 90;
}
.mobile-menu.open, .cookie-modal.open {
  z-index: 1100;
}

/* ========================================================================
   INDUSTRIAL MODERN -- ACCENTS & MISC
   ======================================================================== */
::-webkit-input-placeholder { color: #bbbcc2; opacity: 1; }
::-moz-placeholder { color: #bbbcc2; opacity: 1; }
:-ms-input-placeholder { color: #bbbcc2; opacity: 1; }
::placeholder { color: #bbbcc2; opacity: 1; }

.card, .feature, .author-profile, .team-member, .interview-snippet, .blog-post {
  border-right: 4px solid #2a3948;
}
.card:hover, .feature:hover, .blog-post:hover {
  border-right-color: #15908D;
}

hr {
  border-top: 1px solid #245078;
}

/* metallic accent line */
.section:before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  background: linear-gradient(90deg,#e2dfd2 0%,#C9BBB2 26%,#15908D 98%);
  border-radius: 2px;
  margin-bottom: 22px;
  opacity: 0.66;
}

.section h2, .hero h1, .bestsellers-list h2, .authors-preview h2, .testimonials h2,
.features h2, .newsletter h2, .thank-you h1 {
  text-shadow: 0 3px 10px #171c1f85;
}

/* Prevent unintentional overlaps */
.card, .feature, .testimonial-card, .blog-post, .author-profile, .team-member, .interview-snippet {
  margin-bottom: 20px;
}

/* Animations for micro-interactions */
.cta, .button, button, .cookie-btn {
  transition: background 0.18s, color 0.17s, box-shadow 0.17s, border 0.12s, transform 0.11s;
}
.cta:active, .cookie-btn:active { transform: scale(0.97); }

/* Hide elements visually but keep for a11y */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
