/* ================== 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, menu, 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, 
main, 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 {
  min-height: 100vh;
  background: linear-gradient(135deg,#eef5fa 0%, #d5edf5 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A223C;
  font-size: 16px;
  line-height: 1.7;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #4EB6B6;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #1A223C;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}
strong, b {
  font-weight: 700;
}
hr {
  border: 0;
  height: 1px;
  background: #e5eae6;
  margin: 36px 0;
}

/* =================== VARIABLES ======================= */
:root {
  --primary: #1A223C;
  --secondary: #FFFFFF;
  --accent: #4EB6B6;
  --bg-gradient: linear-gradient(135deg, #eef5fa 0%, #d5edf5 100%);
  --shadow-card: 0 8px 24px rgba(30,80,110,0.08), 0 1.5px 4px rgba(30,80,110,0.03);
  --radius: 18px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A223C;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 18px; line-height: 1.12; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; line-height: 1.16; }
h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; }
h4 { font-size: 1.18rem; margin-bottom: 12px; font-weight: 500; }
h5, h6 { font-size: 1rem; font-weight: 500; }
.subheadline {
  color: #425173;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 22px;
  font-weight: 500;
}
p, li, blockquote, dd {
  font-size: 1rem;
  color: #273252;
}
blockquote {
  font-style: italic;
  background: #f4f9fb;
  border-left: 4px solid var(--accent);
  padding: 18px 24px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
small {
  font-size: .94em;
  color: #617093;
}

/* ============= CONTAINER & LAYOUT ============= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section { padding: 24px 6px; }
}

.text-section {
  max-width: 700px;
  margin: 0 auto 0 auto;
  align-items: flex-start;
}

/* ================= FLEXBOX LAYOUT CLASSES ================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  min-width: 270px;
  max-width: 370px;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(30,80,110,0.12);
  transform: translateY(-6px) scale(1.01);
}
.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;
    gap: 22px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Specials: Features grid */
.feature-grid, .inspiration-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
  margin-bottom: 12px;
}
.feature-grid li, .inspiration-types-grid li {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 350px;
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.feature-grid li:hover,.inspiration-types-grid li:hover {
  box-shadow: 0 14px 38px -10px rgba(30, 80, 110, 0.14);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img, .inspiration-types-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

/* Category/project cards example */
.project-preview-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 20px 18px 20px;
  margin-bottom: 24px;
}
@media (max-width:768px) {
  .project-preview-cards {
    flex-direction: column;
    gap: 14px;
    padding: 18px 8px;
  }
}

/* ============ BUTTONS / CTA =========== */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: var(--secondary);
  border: none;
  border-radius: 30px;
  padding: 13px 38px;
  font-weight: 700;
  font-size: 1.07rem;
  cursor: pointer;
  box-shadow: 0 5px 16px -10px var(--accent);
  margin-top: 20px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: center;
}
.cta.primary {
  background: linear-gradient(98deg, #44b6c7 0%, #36e3c0 100%);
  color: #fff;
  box-shadow: 0 6px 24px -8px #36e3c088;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(98deg, #227a8b 0%, #26ba93 90%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px -8px #36e3c0aa;
}
.cta:hover, .cta:focus {
  background: #267e7e;
  color: #fff;
  transform: scale(1.025);
}

button, .button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
  outline: none;
  padding: 11px 24px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

/* ========== FORMS & FILTERS ============= */
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
}
.filter-controls label {
  color: #273252;
  font-weight: 500;
  margin-right: 10px;
  font-size: 1rem;
}
.filter-controls select {
  margin-left: 6px;
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid #bfd1db;
  font-size: 1rem;
  background: #f8fafc;
  color: #1A223C;
  transition: border .2s;
}
.filter-controls select:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0 10px 0;
}
.category-list li {
  font-family:'Montserrat'; font-size:1rem; padding:6px 22px; background:#f1fafb; color:#227587; border-radius:14px; font-weight:500; transition:background .2s;
  margin-bottom: 10px;
}
.category-list li:hover{background:#e0f1f6; color:#17406d;}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size:1rem;
  color: #425173;
}
.category-filters a {
  font-weight: 500;
  color: var(--accent);
  text-decoration:none;
  transition:color .18s;
  padding:2px 6px;
}
.category-filters a:hover,
.category-filters a:focus {color: #1A223C; background:#e6fafd; border-radius:8px;}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 14px 0 0 0;
}
.articles-list li h3 a {
  font-size: 1.20rem;
  font-family: 'Montserrat';
  font-weight: 600;
  color: #1A223C;
  text-decoration: underline dotted #36e3c0 1.5px;
  transition: color .18s;
}
.articles-list li h3 a:hover { color: var(--accent); }

/* ============= TESTIMONIALS ============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  margin-bottom: 24px;
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-width: 260px;
  max-width: 560px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 14px 38px -8px #4eb6b619;
  transform: translateY(-4px) scale(1.01);
}
blockquote {
  color: #1A223C;
}
.testimonial-author {
  font-weight: 600;
  font-family: 'Montserrat';
  font-size:1.02rem;
  color: #425173;
  margin-left: 6px;
}

/* ============= FAQ ============== */
.faq-list {
  margin: 18px 0 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list dt {
  font-family: 'Montserrat';
  font-size: 1.07rem;
  font-weight: 600;
  margin-bottom:2px;
  color: #273252;
}
.faq-list dd {
  margin-bottom: 6px;
  font-size: .98rem;
  margin-left: 16px;
  color: #425173;
}

/* =========== FOOTER ============ */
footer {
  background: linear-gradient(133deg, #f2fffd 0%, #eef5fa 100%);
  padding: 40px 0 0 0;
  font-size: 1rem;
  border-top: 1.5px solid #e6eaef;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
}
.footer-brand {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 180px;
}
.footer-links {
  flex: 2 1 350px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 36px;
  min-width: 200px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
}
.footer-links a {
  color: #36405b;
  font-weight: 500;
  font-size: 1rem;
  padding: 2px 0;
  transition: color .18s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.footer-contact h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  font-family: 'Montserrat';
  color: #167484;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .97rem;
  color: #48567a;
}
.footer-social {
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.footer-social img { width:32px; height:32px; border-radius:50%; background:#eef5fa; padding:3px; transition:box-shadow .2s; }
.footer-social a:hover img { box-shadow:0 0 0 3px #4EB6B677; }

@media (max-width: 1000px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 28px 0;
    padding-bottom: 24px;
  }
  .footer-social { margin-top: 10px; }
}

/* =========== HEADER / NAVIGATION ============== */
header {
  background: var(--bg-gradient);
  border-bottom: 1.5px solid #e6eaef;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 10px 20px;
  position: relative;
}
header img[alt="Lucid Gains Katalogi Web Design"] {
  height: 48px;
  width: auto;
}

/* MAIN NAV */
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a {
  padding: 8px 0;
  font-size: 1.03rem;
  color: #324a61;
  font-weight: 500;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}

header .cta.primary {
  margin-top: 0;
  margin-bottom: 0;
}
/* Mobile menu burger icon */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  margin-left: 10px;
  display: none;
  z-index: 1004;
  transition: color .15s;
}
.mobile-menu-toggle:hover { color: #207f7f }
@media (max-width: 990px) {
  header nav, header .cta.primary { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(20,44,60,.95);
  backdrop-filter: blur(3px);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform .44s cubic-bezier(.32,1.56,.38,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 30px 18px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #ffffff;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 0 10px;
  transition: color .2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {color: #36e3c0;}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size:1.25rem;
  font-family:'Montserrat';
  font-weight: 600;
  letter-spacing: .02em;
  padding: 12px 0 12px 4px;
  border-radius: 10px;
  transition: background .15s, color .15s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(51, 228, 192, 0.12);
  color: #36e3c0;
}
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-toggle { display:none!important; }
}

/* ============ SECTIONS/MAIN SPACING ============= */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
  width: 100%;
}
@media (max-width:768px) {
  main section { padding: 28px 0; margin-bottom:40px; }
}
main section:last-child { margin-bottom:0; }

/* =========== SUPPORT/TOOLS/OTHER ============= */
.trend-highlights, .design-tips, .support-options {
  background: #f6fefa;
  border-radius: 14px;
  padding: 18px 16px 18px 24px;
  margin: 20px 0 10px 0;
  box-shadow: 0 2px 10px -5px #4eb6b610;
}
.trend-highlights h3,
.design-tips h3, .support-options h3 {
  font-family: 'Montserrat';
  font-size: 1.12rem;
  color: #2a827a;
  margin-bottom: 7px;
}
.support-options ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 9px;
}
.support-options li {
  display: flex; align-items: center; gap:9px; font-size:.98rem; color: #183f54;
}

/* ========== OL, UL, and LI STYLES ============ */
.content-wrapper ol {
  list-style: decimal inside;
  margin-bottom:10px;
  padding-left:0;
}
.content-wrapper ul {
  list-style: disc inside;
  margin-bottom:8px;
  padding-left:0;
}
.content-wrapper li {
  margin-bottom: 8px;
}

/* ========== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: linear-gradient(90deg, #4eb6b6 0px, #44b6c7 100%);
  color: #ffffff;
  box-shadow: 0 -5px 24px -8px #1A223C44;
  padding: 20px 18px 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  justify-content: center;
  font-size: 1rem;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.hide { transform: translateY(160px); }
.cookie-banner-message {
  flex: 1 1 260px;
  max-width: 650px;
  color: #fff;
  font-weight: 400;
  font-size: 1.02rem;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  border: none;
  border-radius: 20px;
  background: #fff;
  color: #207f7f;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 2px;
  cursor: pointer;
  box-shadow: 0 1.5px 9px -3px #1099a0aa;
  transition: background .18s, color .18s, box-shadow .22s;
  outline: none;
}
.cookie-btn.accept {
  background: linear-gradient(98deg,#36e3c0 0%,#44b6c7 100%);
  color: #fff;
}
.cookie-btn.accept:hover {background: #1A223C; color: #fff;}
.cookie-btn.reject {color: #fff; background: #E5624B;}
.cookie-btn.reject:hover { background: #bb3a21;}
.cookie-btn.settings { background: #fff; color:#207f7f; border:1.5px solid #4EB6B6; }
.cookie-btn.settings:hover{ background: #eaf2ef;}
@media (max-width: 660px) {
  .cookie-banner { flex-direction: column; padding:18px 6px 10px 6px; gap:12px; }
  .cookie-banner-message, .cookie-banner-actions { width:100%; max-width: none; }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,40,54,0.73);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  opacity: 1;
  visibility: visible;
  transition: opacity .26s cubic-bezier(.6,.9,0,1), visibility .2s;
}
.cookie-modal.hide { opacity: 0; visibility: hidden; }
.cookie-modal-content {
  background: #ffffff;
  color: #1A223C;
  border-radius: var(--radius);
  max-width: 430px;
  width: 93vw;
  box-shadow: 0 12px 44px -14px #002c3640;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalin .43s cubic-bezier(.42,1.4,.41,.93);
}
@keyframes modalin {
  from { transform: translateY(60px) scale(.95); opacity:0; }
  to   { transform: none; opacity:1; }
}
.cookie-modal-title {
  font-size: 1.25rem;
  font-family: 'Montserrat';
  font-weight: 700;
  margin-bottom: 9px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 14px;
  background: none; border: none;
  font-size: 2rem; color: #1A223C; cursor: pointer;
  transition:color .14s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover { color: #36e3c0; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #f6fafb;
  border-radius: 10px;
  padding: 9px 11px;
}
.cookie-category-label {
  flex: 1 1 auto;
  font-weight: 600;
  color: #227587;
  font-family:'Montserrat';
  font-size: 1rem;
}
.cookie-category-toggle {
  width: 38px;
  height: 24px;
  background: #e2eef8;
  border-radius: 14px;
  position: relative;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background .16s;
}
.cookie-category-toggle[aria-checked="true"] {
  background: linear-gradient(90deg,#36e3c0 0%, #44b6c7 100%);
}
.cookie-category-toggle:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 4px -1px #4eb6b622;
}
.cookie-category-toggle[aria-checked="true"]:before {
  left: 16px;
}
.cookie-category-desc {
  font-size: .97em;
  color: #6a76a1;
  margin-left:8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn { min-width: 120px; }

/* =========== RESPONSIVE - MOBILE ============= */
@media (max-width: 900px) {
  .feature-grid, .inspiration-types-grid { gap: 14px; }
  .feature-grid li, .inspiration-types-grid li { min-width: 150px; }
  .footer-links { gap: 12px 22px; }
}
@media (max-width: 590px) {
  .feature-grid li, .inspiration-types-grid li { max-width: 92vw; }
  .project-preview-cards, .content-wrapper { padding: 0 2px; }
  footer .container { padding: 0 2px 16px 2px; }
  header .container {padding: 6px 8px;}
  main section { padding: 10px 0; }
}
@media (max-width: 468px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.13rem; }
  .section { padding: 12px 2px; margin-bottom:22px; }
}

/* ================== MISC EFFECTS & MICROINTS ================= */
.card, .feature-grid li, .testimonial-card {
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 20px;
  will-change: transform, box-shadow;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  box-shadow: 0 18px 48px -8px #4eb6b61a;
  transform: translateY(-3px) scale(1.012);
}

/* All interactive elements focus outline */
a:focus, button:focus, .cta:focus, .mobile-nav a:focus {
  outline: 2.5px solid #36e3c0;
  outline-offset: 2px;
  z-index: 1;
}

::-webkit-input-placeholder { color: #8da5b9; opacity:1; }
::-moz-placeholder { color: #8da5b9; opacity:1; }
:-ms-input-placeholder { color: #8da5b9; opacity:1; }
::placeholder { color: #8da5b9; opacity:1; }

/* END OF CSS */
