/* =======================  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, input, textarea, select, button, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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, main, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background-color: #101824;
  color: #f3f6fa;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  background-image: linear-gradient(135deg, #101824 0%, #194164 100%);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background: none;
  text-decoration: none;
  color: #FFC53A;
  transition: color 0.2s;
}
a:hover {
  color: #F3F6FA;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* ====================  CUSTOM PROPERTIES ========================== */
:root {
  --primary: #285E8E;
  --primary-dark: #174266;
  --secondary: #F3F6FA;
  --accent: #FFC53A;
  --accent-neon: #ffe082;
  --bg-dark: #101824;
  --bg-card: #172237;
  --text: #f3f6fa;
  --text-dark: #101824;
  --shadow: 0 2px 30px 0 rgba(40,94,142,0.12), 0 2px 4px 0 rgba(0,0,0,0.15);
  --radius: 20px;
  --radius-lg: 28px;
  --font-display: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ====================  TYPOGRAPHY ================================ */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 0 3px 24px rgba(40,94,142,0.21), 0 1px 2px rgba(0,0,0,0.22);
}
@media (min-width: 576px) {
  h1, .hero h1 { font-size: 3rem; }
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
@media (min-width:576px) { h2 { font-size: 2.3rem; } }
h3 {
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
h4 {
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: 500;
  color: var(--accent);
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
}
strong { font-weight: bold; color: var(--accent); }
span, label {
  font-size: 1rem; color: var(--text);
}

/* ==========  LAYOUT CONTAINERS (Flexbox only) ==================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Sections & spacing patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 260px;
  margin-bottom: 20px;
  position: relative; /* only for decorations */
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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 {
  background: var(--secondary);
  color: var(--text-dark);
  border-radius: var(--radius);
  box-shadow: 0 4px 28px 0 rgba(40,94,142,0.13);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

/* ==============  HEADER & NAVIGATION (Desktop) =================== */
header {
  background: rgba(16,30,40,0.98);
  box-shadow: 0 2px 18px 0 rgba(40,94,142,0.10);
  padding: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 15px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.16s;
  position: relative;
  padding: 3px 0;
}
header nav a:after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.23s cubic-bezier(.4,0,.2,1);
  position: absolute;
  left: 0; bottom: -3px;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
}
header nav a:hover:after, header nav a:focus:after {
  width: 85%;
}
header .btn-primary {
  margin-left: 24px;
}

@media (max-width: 1024px) {
  header .container { flex-wrap: wrap; gap: 12px; }
  header nav { gap: 14px; }
  header .btn-primary { margin-left: 0; }
}

/* ==============  MOBILE NAVIGATION (Burger Menu)  ================ */
.mobile-menu-toggle {
  border: none;
  background: var(--primary);
  color: var(--accent);
  font-size: 2rem;
  padding: 6px 20px 8px;
  border-radius: 14px;
  position: fixed;
  top: 18px; right: 18px;
  z-index: 250;
  box-shadow: 0 2px 18px 0 rgba(40,94,142,0.10);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  display: none;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 991px) {
  .mobile-menu-toggle { display: block; }
  header nav, header .btn-primary {
    display: none !important;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(22,33,51,0.98);
  z-index: 999;
  transform: translateX(-101%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 48px 0 rgba(40,94,142,0.36);
  padding: 20px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 10px 22px 22px 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  padding: 3px 11px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  gap: 18px;
  margin-top: 10px;
  width: 100%;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:active,
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--accent);
}

@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ===================  HERO =================== */
.hero {
  background: linear-gradient(105deg, #194164 0%, #285E8E 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 40px 0 rgba(40,94,142,0.20);
  margin-bottom: 44px;
}
.hero .container {
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  text-align: center;
  align-items: center;
  gap: 16px;
}
.hero p {
  color: #f3f6fa;
  font-size: 1.12rem;
}
.hero .btn-primary {
  margin-top: 14px;
}
@media (max-width: 575px) {
  .hero {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 34px;
  }
  .hero .container {
    min-height: 180px;
    padding: 22px 8px;
  }
  .hero .content-wrapper {
    gap:10px;
    text-align: center;
  }
}

/* =================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 12px 30px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.20s, box-shadow 0.17s;
  box-shadow: 0 1.5px 22px 0 rgba(40,94,142,0.13);
  letter-spacing: 0.01em;
  outline: none;
  text-shadow: 0 0 2px rgba(44,137,253,0.13);
  margin-right: 6px;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 0 5px 2px var(--accent-neon), 0 1.5px 22px 0 rgba(40,94,142,0.13);
  border: 2px solid var(--accent);
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background: #ffe082;
  color: var(--primary);
  border-color: #ffe082;
  box-shadow: 0 0 12px 3px #ffe082;
}
.btn-secondary {
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--primary);
  margin-left: 8px;
}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn[disabled], .btn[aria-disabled=true] {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

/* =================== INPUTS, FORMS =================== */
input[type="email"],
input[type="text"],
input[type="search"] {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  background: var(--secondary);
  border: 1.5px solid var(--primary-dark);
  border-radius: 14px;
  padding: 13px 16px;
  margin-right: 8px;
  margin-bottom: 6px;
  transition: border 0.19s, box-shadow 0.17s;
  box-shadow: 0 1.5px 8px 0 rgba(40,94,142,0.07);
  width: 220px;
  max-width: 98%;
  outline: none;
}
input[type="email"]::placeholder, input[type="text"]::placeholder, input[type="search"]::placeholder {
  color: #94b7db;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
}
input[type="email"]:focus, input[type="text"]:focus, input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 3px 1.5px var(--accent);
}

form {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: flex-end;
  margin-top: 10px;
}
@media (max-width: 600px) {
  form { flex-direction: column; align-items: stretch; gap:12px; }
  input[type="email"], input[type="text"] { max-width:100%; width:100%; }
}

/* =================  TILES & BLOG POSTS ============= */
.inspiration-grid,.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.inspiration-tile, .blog-post {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px 17px;
  box-shadow: var(--shadow);
  flex: 1 1 270px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: transform .19s, box-shadow .19s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inspiration-tile:hover, .blog-post:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 6px 30px 0 #285E8E66;
}

/* ===================  TESTIMONIALS ================ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 5px solid var(--accent);
  background: var(--secondary);
  color: var(--text-dark);
  font-style: italic;
  box-shadow: 0 3px 14px 0 #17426620;
  padding: 22px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.17s;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1.08rem;
  font-family: var(--font-display);
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #666f7b;
  font-size: 1rem;
  font-style: normal;
  font-family: var(--font-body);
  opacity: 0.94;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 8px 32px 0 #285E8E2B;
  border-color: var(--primary);
}

/* ===================  PRICE TAGS =================== */
.price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--accent);
  background: rgba(255,201,77,0.06);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 0 6px 0 #ffc94d33;
  margin: 10px 0 6px 0;
}

/* ================ LISTS with ICONS ================ */
ul li, .text-section ul li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
  margin-left: 0;
}
ul li img, li > img {
  display: inline-block;
  width: 28px;
  min-width: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* ============== NEWSLETTER SECTION =============== */
form[action], form:not([action]) {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* =================  FOOTER  ===================== */
footer {
  background: #162336;
  color: #F3F6FA;
  padding: 44px 0 24px 0;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -2px 22px 0 rgba(40,94,142,0.11);
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.footer-brand img { height: 42px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  align-items: center;
}
.footer-nav a {
  color: #F3F6FA;
  font-size: 1.01rem;
  padding: 2px 0;
  font-family: var(--font-display);
  transition: color 0.17s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.footer-contact img {
  width: 26px;
}
.footer-copy {
  color: #8290a7;
  font-size: 0.97rem;
  margin-top: 14px;
  letter-spacing: 0.01em;
}

/* ============ RESPONSIVE FLEXBOX ALIGNMENT ========== */
@media (max-width: 900px) {
  .container { max-width:98vw; }
  .content-grid,.card-container, .inspiration-grid,.blog-list,
  .footer-contact,.footer-nav { gap: 12px; }
}
@media (max-width: 768px) {
  .section { padding: 27px 7px; }
  .content-wrapper { gap: 13px; }
  .content-grid, .card-container, .inspiration-grid,.blog-list {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 21px;
    align-items: flex-start;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 510px) {
  .card, .testimonial-card, .feature-item { padding: 13px 6px; }
  .container { padding:0 3vw; }
  .footer-brand img { height: 28px; }
}

/* =========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 1100;
  background: #172237;
  color: #fff;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -3px 38px 0 #285E8E24;
  padding: 23px 16px 23px 34px;
  font-size: 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  animation: cookie-banner-slideup 0.5s cubic-bezier(.45,0,.38,1);
}
@keyframes cookie-banner-slideup {
  0% { transform: translateY(100%); opacity:0; }
  80% { transform: translateY(-7px); }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #fff;
  margin:0 12px 0 0;
  flex:1 1 60%;
}
.cookie-banner .btn {
  margin:0 8px 0 0;
  min-width: 110px;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding:16px 6px;
    font-size: 0.95rem;
  }
  .cookie-banner .btn { min-width: 94px; font-size:0.96rem; }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(22,33,51,0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.3s cubic-bezier(.5,.3,.3,1);
}
@keyframes fadein {
  0% { opacity:0; } 100% {opacity:1;} 
}
.cookie-modal {
  background: #172237;
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 38px 0 #285E8E45;
  padding: 34px 28px 30px 28px;
  min-width:290px;
  max-width:96vw;
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: stretch;
  animation: modalpop 0.5s cubic-bezier(.5,0,.28,1);
}
@keyframes modalpop {
  0% { transform:scale(.7); opacity:0; }
  70% { transform:scale(1.04); }
  100% { transform:scale(1); opacity:1; }
}
.cookie-modal h2 {
  color: var(--accent); margin-bottom: 7px;
}
.cookie-modal label {
  display: flex; align-items: center; gap:9px; font-size:1.09rem;
  color: #ffe082;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 22px; height: 22px;
  margin:0 7px 0 0;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  min-width: 110px;
}

@media (max-width: 480px) {
  .cookie-modal { padding: 14px 7px 12px 7px; }
  .cookie-banner { font-size:0.93rem; }
}

/* =========== ADDITIONAL: FOCUS, ANIMATION, MICRO =======*/
*:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.card, .testimonial-card, .feature-item, .inspiration-tile, .blog-post {
  transition: transform .19s, box-shadow .19s, border-color .18s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 36px 0 #285E8E3A;
  transform: translateY(-4px) scale(1.022);
  border-color: var(--accent);
}

/* ==============  MISCELLANEOUS / HELPER CLASSES ======= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.bg-accent { background:var(--accent); color: var(--primary); }
.bg-dark { background:var(--bg-dark); color:var(--text); }
.rounded { border-radius: var(--radius); }
.mt-24{margin-top:24px;}
.mb-24{margin-bottom:24px;}
.center {text-align:center; justify-content:center; align-items:center;}

/* ============= DARK/LIGHT MODE ADJUSTMENTS (Testimonial etc) ====== */
@media (prefers-color-scheme: dark) {
  body { background-color: #101824; }
}

/* ================ Z-INDEX LAYERS  ====================== */
header { z-index:100; }
.mobile-menu { z-index:999; }
.mobile-menu-toggle { z-index:250; }
.cookie-banner { z-index:1100; }
.cookie-modal-overlay { z-index:1300; }

/* ======== END OF Nova Lazur TECHNO-FUTURISTIC THEME ====== */