/* =========================================================
   ArtSense Foundations — Futuristic Tech-inspired Style CSS
   Mobile-First | Flexbox Layouts | Neon/Elegant Accents
   Brand Colors: #223249, #E8C268, #F5F7FB
   Fonts: Montserrat (display), Open Sans (body)
   ---------------------------------------------------------
   CSS RESET & BASE STYLES
   ========================================================= */

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: linear-gradient(135deg, #171e2a 0%, #223249 100%);
  color: #F5F7FB;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.5s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #E8C268;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fffad5;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #E8C268;
  letter-spacing: 0.015em;
  margin-bottom: 16px;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #F5F7FB;
}
strong {
  font-weight: 600;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section { padding: 30px 8px; }
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 720px;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

header {
  background: #171e2a;
  border-bottom: 1px solid rgba(232, 194, 104, 0.06);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  z-index: 200;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  gap: 18px;
}
.logo img {
  height: 42px;
  filter: drop-shadow(0 0 2px #e8c268) drop-shadow(0 0 10px #223249);
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #F5F7FB;
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 2px;
  border-radius: 2px;
  transition: color 0.2s;
  z-index: 10;
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
  color: #E8C268;
  text-shadow: 0 0 8px #E8C268;
}

.main-nav .cta {
  background: linear-gradient(90deg, #e8c268 75%, #fffad5 100%);
  color: #223249;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  padding: 9px 20px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 2px #E8C26866;
  position: relative;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.12s;
  outline: none;
  cursor: pointer;
  margin-left: 14px;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #F5F7FB;
  color: #182136;
  box-shadow: 0 0 14px 2px #FFD97F, 0 0 6px #E8C268;
  transform: translateY(-2px) scale(1.04);
  text-shadow: none;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(90deg, #e8c268 60%, #fffad5 100%);
  color: #222;
  border: none;
  font-size: 1.7rem;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 4px #ffe39199;
  z-index: 300;
  transition: background 0.22s, box-shadow 0.18s, color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px #E8C26877;
}

@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 50, 73, 0.94);
  z-index: 999;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  padding: 0 0;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.9,.15,.13,1.39), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #E8C268;
  margin: 24px 28px 0 0;
  cursor: pointer;
  z-index: 1001;
  border-radius: 3px;
  padding: 0 10px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe39128;
  outline: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 40px 38px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #F5F7FB;
  padding: 12px 2px;
  border-radius: 3px;
  transition: background 0.2s, color 0.18s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8C26820;
  color: #E8C268;
  outline: none;
}
.mobile-nav .cta {
  background: linear-gradient(90deg, #e8c268 80%, #fffad5 100%);
  color: #223249;
  border: none;
  padding: 11px 20px;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 6px;
  margin-top: 18px;
  box-shadow: 0 0 6px 1px #E8C26890;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav .cta:hover {
  background: #F5F7FB;
  color: #223249;
}

@media (max-width: 500px) {
  .mobile-menu {
    padding: 0;
  }
  .mobile-nav {
    margin: 30px 10px;
    gap: 18px;
  }
}

/* =========================================================
   SECTION LAYOUTS & FLEX PATTERNS
   ========================================================= */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #212c40;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 #0e162861, 0 1.5px 14px 0 #e8c26818;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.26s, transform 0.18s;
  border: 1.5px solid #e8c26822;
}
.card:hover {
  box-shadow: 0 4px 28px 0 #E8C26860, 0 3px 18px #22324957;
  transform: scale(1.021);
  z-index: 2;
}

.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: #F5F7FB;
  color: #223249;
  border-radius: 12px;
  box-shadow: 0 2px 18px #e8c26825, 0 0.5px 3px #22324922;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.14s;
  border: 1.5px solid #e8c26844;
  font-size: 1.07rem;
  position: relative;
}
.testimonial-card p {
  color: #171e2a;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px #E8C26866, 0 3px 18px #22324928;
  transform: translateY(-2px) scale(1.008);
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
}
.testimonial-info strong {
  color: #223249;
  font-weight: 700;
}
.testimonial-info span:last-child {
  color: #e0b53e;
  font-size: 1.045em;
  margin-left: 6px;
  letter-spacing: 0.08em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
}
.feature-grid > div {
  background: #212c40;
  border-radius: 16px;
  box-shadow: 0 2px 16px #e8c26822, 0 1.5px 14px #22324925;
  flex: 1 1 220px;
  padding: 38px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.23s, transform 0.16s;
  border: 1.4px solid #e8c2681a;
  text-align: left;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 0 24px #E8C26877, 0 8px 14px #22324928;
  transform: translateY(-2px) scale(1.017);
  z-index: 1;
}
.feature-grid img {
  height: 38px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 4px #e8c26866);
}
.feature-grid h3 {
  font-size: 1.18rem;
  color: #E8C268;
  margin-bottom: 8px;
}
.feature-grid p {
  color: #F5F7FB;
  font-size: 1rem;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    flex: 1 1 100%;
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 18px 12px;
    font-size: 1em;
  }
  .section {
    padding: 26px 8px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================================================
   BUTTONS & CTA
   ========================================================= */
.cta {
  display: inline-block;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border: none;
  padding: 12px 30px;
  border-radius: 28px;
  cursor: pointer;
  margin-top: 14px;
  margin-bottom: 3px;
  box-shadow: 0 2px 9px 0 #e8c26821, 0 0.5px 3px #22324933;
  transition: background 0.16s, color 0.12s, box-shadow 0.18s, transform 0.12s;
  outline: none;
  text-align: center;
  position: relative;
}
.cta.primary {
  background: linear-gradient(90deg, #e8c268 80%, #fffad5 100%);
  color: #223249;
  border: none;
  text-shadow: 0 0px 12px #e8c26833, 0 0px 32px #fefada15;
}
.cta.primary:hover, .cta.primary:focus {
  background: #F5F7FB;
  color: #182136;
  box-shadow: 0 0 16px #FFD97F, 0 3px 12px #2232496a;
  transform: scale(1.04);
  text-shadow: none;
}
.cta.secondary {
  background: #223249;
  color: #e8c268;
  border: 2px solid #e8c268;
  box-shadow: 0 0 11px #e8c26811;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #E8C268;
  color: #212c40;
  border: 2px solid #E8C268;
  box-shadow: 0 0 14px #e8c26895;
}

/* Inputs/Forms (not prominent, but stylized if used later) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 15px;
  border-radius: 8px;
  border: 1.5px solid #e8c26855;
  background: #19213b;
  color: #E8C268;
  margin-bottom: 12px;
  transition: border 0.2s, box-shadow 0.18s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid #E8C268;
  box-shadow: 0 0 0 2px #e8c26870;
}
::-webkit-input-placeholder, ::placeholder {
  color: #9ca1aa;
  opacity: 1;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: #19213b;
  border-top: 1.5px solid #22324922;
  padding: 36px 0 22px;
  color: #e8c268;
}
footer .container {
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1em;
  justify-content: center;
  color: #e8c268;
}
.footer-nav a {
  color: #e8c268;
  opacity: 0.88;
  padding: 4px 4px;
  border-radius: 4px;
  transition: color 0.18s, background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fffad5;
  background: #e8c26833;
  text-decoration: underline;
}

/* =========================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================= */
#cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #19213b;
  color: #f5f7fb;
  box-shadow: 0 -1.5px 10px #22324933;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 10px 22px 20px;
  min-height: 68px;
  animation: cookieSlideUp 0.58s cubic-bezier(.26,1.16,.39,.98);
}
@keyframes cookieSlideUp {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#cookie-banner .cookie-message {
  font-size: 1.08rem;
  line-height: 1.4;
  color: #E8C268;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
}
#cookie-banner .cookie-btn {
  padding: 8px 21px;
  border-radius: 6px;
  background: #223249;
  color: #E8C268;
  border: 1.5px solid #E8C268;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 0 6px #e8c26818;
  transition: background 0.14s, color 0.15s;
  margin-right: 0;
}
#cookie-banner .cookie-btn.accept {
  background: linear-gradient(90deg, #e8c268 80%, #fffad5 100%);
  color: #223249;
  border: none;
}
#cookie-banner .cookie-btn.accept:hover {
  background: #F5F7FB;
  color: #182136;
}
#cookie-banner .cookie-btn.settings {
  background: #223249;
  color: #E8C268;
  border: 1.5px solid #E8C268;
}
#cookie-banner .cookie-btn.settings:hover {
  background: #e8c268;
  color: #223249;
}
#cookie-banner .cookie-btn.reject {
  background: #223249;
  color: #F5F7FB;
  border: 1.5px solid #F5F7FB;
}
#cookie-banner .cookie-btn.reject:hover {
  background: #e14b44;
  color: #fff;
  border-color: #e14b44;
}
@media (max-width: 600px) {
  #cookie-banner {flex-direction: column; padding: 18px 10px; gap: 12px;}
  #cookie-banner .cookie-message {text-align: left; margin-bottom: 9px;}
}

#cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(17,24,39,0.84);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
  animation: modalFadeIn 0.22s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal {
  background: #242f4b;
  border-radius: 13px;
  color: #E8C268;
  max-width: 410px;
  min-width: 300px;
  padding: 34px 30px 30px;
  box-shadow: 0 12px 34px #22324955;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalPop 0.31s cubic-bezier(.23,2,.15,.96);
}
@keyframes modalPop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
#cookie-modal .modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  color: #e8c268;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 5;
  padding: 0 4px;
  border-radius: 3px;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  background: #e8c26819;
}
#cookie-modal h2 {
  font-size: 1.25em;
  margin-bottom: 10px;
  color: #E8C268;
}
#cookie-modal .category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.025em;
}
#cookie-modal label {
  color: #fffad5;
  font-weight: 400;
}
#cookie-modal .cookie-toggle {
  accent-color: #e8c268;
  width: 24px; height: 24px;
  border-radius: 6px;
  cursor: pointer;
}
#cookie-modal .cookie-btn-row {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 480px) {
  #cookie-modal {
    min-width: 0;
    padding: 20px 9px 17px;
  }
}

/* =========================================================
   MISC SPACING & UTILITY CLASSES
   ========================================================= */
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.pt-2 { padding-top: 16px; }
.pb-2 { padding-bottom: 16px; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 3px 20px #22324933; }

/* =========================================================
   VISUAL EFFECTS: NEON/TECHNO GLOW, LINES, DECOR
   ========================================================= */
.neon-line {
  content: '';
  width: 48px; height: 4px;
  background: linear-gradient(90deg, #e8c26877 0%, #ffe39133 80%, transparent 100%);
  border-radius: 3px;
  margin-bottom: 21px;
  display: block;
}
.neon-glow {
  text-shadow: 0 0 8px #e8c268, 0 0 28px #ffe39144;
}

/* Subtle shape accent - optional for hero backgrounds
.hero-accent {
  position: absolute;
  right: -80px; top: 40px;
  width: 320px; height: 120px;
  background: linear-gradient(60deg, #e8c26833 20%, transparent 90%);
  z-index: 0;
  filter: blur(8px);
  pointer-events: none;
}
*/

/* =========================================================
   RESPONSIVE TYPOGRAPHY
   ========================================================= */
@media (max-width: 670px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .card, .feature-grid > div {
    padding: 18px 10px;
    font-size: 0.97em;
  }
}
@media (max-width: 440px) {
  .cta, .main-nav .cta, .mobile-nav .cta {
    font-size: 0.98rem;
    padding: 9px 10px;
  }
  .footer-nav {
    font-size: 0.91em;
  }
}

/* =========================================================
   ACCENT COLORS
   Use: .accent-bg, .accent-text where needed
   ========================================================= */
.accent-bg {
  background: #E8C268 !important;
  color: #223249 !important;
}
.accent-text { color: #E8C268 !important; }
.primary-bg { background: #223249 !important; color: #F5F7FB !important; }
.secondary-bg { background: #F5F7FB !important; color: #223249 !important; }

