/* ========== CSS RESET & BASE STYLES ========== */
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #181d29;
  color: #edeae0;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

:root {
  --color-primary: #1a2634;
  --color-secondary: #C6A77D;
  --color-accent: #EDEBE6;
  --color-text-dark: #22242a;
  --color-bg-highlight: #232b3b;
  --color-neon: #23e0b7;
  --shadow-1: 0 2px 12px 0 rgba(34, 52, 79, 0.09);
  --shadow-2: 0 4px 32px rgba(37, 84, 199, 0.09);
  --radius: 14px;
  --radius-card: 18px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', Arial, sans-serif;
}

body {
  background-color: var(--color-primary);
  background-image:
    linear-gradient(120deg, #1a2634 0%, #232b3b 60%, #334462 100%);
  color: var(--color-accent);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

main { margin-bottom: 48px; min-height: 400px; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

p, li, blockquote, input, button {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 400;
  letter-spacing: 0.01em;
}
p { margin-bottom: 18px; }
strong { font-weight: 700; }
em { font-style: italic; }

blockquote {
  border-left: 4px solid var(--color-secondary);
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--color-text-dark);
  font-family: var(--font-display);
  background: #fff;
  border-radius: var(--radius);
  font-size: 1.1rem;
  line-height: 1.5;
}
blockquote span {
  display: block;
  margin-top: 12px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.99rem;
}

/* ========== HEADER / NAVIGATION ========== */
header {
  background: #171a24;
  border-bottom: 1px solid #232b3b;
  box-shadow: 0 2px 20px 0 rgba(38,48,89,0.09);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  gap: 24px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  margin: 0 20px 0 32px;
  align-items: center;
}
.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 1;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-neon);
  background: rgba(35,224,183,0.11);
  outline: none;
}
.header .button.primary { margin-left: 24px; }
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2.1rem;
  margin-left: 12px;
  cursor: pointer;
  transition: color 0.23s;
  z-index: 1000;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--color-secondary);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(120deg,#222a38 80%,#222,#1a263480 100%);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.55,.1,.18,1), opacity 0.3s;
  opacity: 0;
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.23s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-neon);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 70px;
  align-items: flex-start;
  padding: 36px 28px 16px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: var(--font-body);
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  letter-spacing: 0.03em;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon);
  background: rgba(35,224,183,0.07);
  outline: none;
}

/* ========== HERO SECTION ========== */
.hero {
  margin-bottom: 60px;
  padding: 60px 0 64px;
  background: linear-gradient(90deg, #232b3b 65%, #2d3547 100%);
  box-shadow: 0 6px 36px rgba(20,46,83,0.09);
}
.hero .container {
  justify-content: center;
  align-items: center;
  min-height: 220px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  max-width: 750px;
}
.hero h1 {
  color: var(--color-neon);
  font-size: 2.4rem;
  font-family: var(--font-display);
  line-height: 1.12;
  margin-bottom: 10px;
  text-shadow: 0 0 12px #20ffd730;
}
.hero p {
  color: var(--color-accent);
  font-size: 1.14rem;
}
.hero .button.primary {
  font-size: 1.08rem;
  font-weight: 600;
}

/* ========== COMMON BUTTONS ========== */
.button, button, input[type="submit"], .button.primary {
  border: none;
  border-radius: 12px;
  padding: 12px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  background: var(--color-secondary);
  color: var(--color-text-dark);
  box-shadow: 0 5px 22px 0 #1e372f25, var(--shadow-1);
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.19s, transform 0.12s;
  margin-top: 6px;
  margin-bottom: 6px;
  display: inline-block;
}
.button.primary {
  background: var(--color-neon);
  color: #222;
  box-shadow: 0 0 0 0 #11e0bb65, var(--shadow-2);
  border: 1.5px solid var(--color-neon);
}
.button.primary:hover,
.button.primary:focus {
  background: #222;
  color: var(--color-neon);
  border-color: var(--color-neon);
  box-shadow: 0 0 0 5px #24e0b720;
  transform: translateY(-3px) scale(1.03);
}
.button:hover, button:hover {
  background: var(--color-neon);
  color: #222;
  box-shadow: 0 0 14px 0 #23e0b755, 0 7px 28px 0 #1a263420;
  outline: none;
}
.button:active, button:active {
  background: var(--color-secondary);
  color: #222;
  box-shadow: none;
  transform: scale(0.97);
}

/* ========== SECTION, CARD, FLEX PATTERNS ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #232b3b;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.card {
  margin-bottom: 20px;
  background: #232b3b;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  position: relative;
  transition: box-shadow 0.24s;
  overflow: hidden;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 40px #24e0b71c, 0 2px 18px #1a2634cc;
  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;
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #232b3b;
  border-radius: 14px;
  box-shadow: 0 1px 24px #2d3c7936, var(--shadow-2);
  margin: 28px 0 28px 0;
  max-width: 700px;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0 0 0 8px;
  color: #232b3b;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #222a38;
  border-radius: var(--radius-card);
  padding: 20px 20px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.17s;
}
.feature-item:hover {
  box-shadow: 0 2px 28px #20e9d640, var(--shadow-2);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  width: 100%;
}

.text-section {
  width: 100%;
  margin-bottom: 18px;
}

/* ========== FEATURE GRIDS (FEATURE-CARDS) ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: #232b3b;
  border-radius: 16px;
  box-shadow: 0 3px 22px #23e0b70a, var(--shadow-1);
  padding: 28px 20px 23px 20px;
  min-width: 240px;
  max-width: 310px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.24s, transform 0.19s;
  border: 1.5px solid #23e0b72f;
}
.feature:hover {
  box-shadow: 0 7px 24px #20ffd749, 0 5px 32px #101e2d38;
  border-color: #23e0b7;
  transform: translateY(-4px) scale(1.035);
  z-index: 1;
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 5px #23e0b789);
}
.feature h3 {
  color: var(--color-neon);
  margin-bottom: 10px;
}
.feature p { color: var(--color-accent); font-size: 1.02rem; }

.trend-highlights {
  background: #2e3144;
  border-radius: 12px;
  padding: 24px 20px 20px 20px;
  margin: 24px 0 0 0;
  color: var(--color-accent);
  box-shadow: 0 2px 16px #23e0b710, var(--shadow-1);
}
.trend-highlights h3 {
  color: var(--color-neon);
  font-size: 1.16rem;
}

/* ========== FORM FIELDS ========== */
input[type=email], input[type=text], textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  background: #181d29;
  color: var(--color-accent);
  border: 1.5px solid #23e0b7;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
  outline: none;
  margin-top: 8px;
  width: 100%;
  transition: border 0.17s, background 0.15s;
}
input[type=email]:focus,
input[type=text]:focus,
textarea:focus {
  background: #141a24;
  border-color: #3efef2;
  color: #e2fdff;
}
.newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.newsletter input[type=email] {
  flex: 1 1 200px;
  min-width: 150px;
  max-width: 400px;
}
.newsletter button[type=submit] {
  flex: 0 0 auto;
  padding: 12px 28px;
}

/* ========== ACCORDION FAQ ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #222a38;
  border-radius: 10px;
  box-shadow: var(--shadow-1);
  padding: 14px 18px 14px 18px;
  transition: box-shadow 0.18s;
}
.faq-item h3 {
  color: var(--color-neon);
  font-size: 1.09rem;
  margin-bottom: 7px;
}
.faq-item p { color: var(--color-accent); }

/* ========== FOOTER ========== */
footer {
  background: #171a24;
  color: var(--color-accent);
  border-top: 1px solid #232b3b;
  box-shadow: 0 -2px 20px #222a3845;
  padding: 35px 0 25px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin: 10px 0 10px 0;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 1.03rem;
  border-radius: 7px;
  padding: 5px 9px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #23e0b714;
  color: var(--color-neon);
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-accent);
  font-size: 0.99rem;
  font-family: var(--font-body);
  margin-top: 9px;
}
.contact-footer img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: drop-shadow(0 0 2px #23e0b780);
  display: inline-block;
}
footer a img {
  height: 38px;
  margin-bottom: 6px;
}

/* ========== COOKIE BANNER AND MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: #232b3b;
  color: var(--color-accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -2px 16px #20ffd711, 0 1px 8px #181d29dd;
  padding: 22px 28px 22px 22px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  animation: fadein-entry 0.7s;
}
@keyframes fadein-entry { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.02rem;
  color: var(--color-accent);
  flex: 3 1 340px;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .button,
.cookie-banner button {
  padding: 10px 18px;
  font-size: 1rem;
  color: #232b3b;
  background: var(--color-neon);
  box-shadow: 0 3px 20px #23e0b720, var(--shadow-1);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.15s, color 0.11s, box-shadow 0.17s, transform 0.11s;
}
.cookie-banner .button:hover, .cookie-banner button:hover {
  color: var(--color-neon);
  background: #232b3b;
  border: 1.5px solid #23e0b7;
  box-shadow: 0 0 11px #23e0b755;
}
.cookie-banner .button.secondary {
  background: var(--color-secondary);
  color: #232b3b;
}
.cookie-banner .button.secondary:hover {
  background: #232b3b;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .button.settings {
  background: #fff;
  color: #232b3b;
}
.cookie-banner .button.settings:hover {
  background: #232b3b;
  color: #fff;
  border: 1.5px solid #fff;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,24,36,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.32s;
}
@keyframes modal-fadein { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #181d29;
  color: var(--color-accent);
  border-radius: 18px;
  max-width: 420px;
  width: 92vw;
  box-shadow: 0 6px 58px #23e0b72a, 0 2px 12px #232b3b;
  padding: 38px 26px 26px 28px;
  position: relative;
  animation: popin 0.28s;
}
@keyframes popin { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cookie-modal h2 {
  color: var(--color-neon);
  margin-bottom: 16px;
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #232b3b;
  border-radius: 9px;
  padding: 13px 10px 13px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-1);
}
.cookie-category label {
  font-family: var(--font-body);
  color: #edeae0;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-neon);
  margin-left: 12px;
}
.cookie-modal .cookie-actions {
  gap: 10px;
  margin-top: 18px;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.21s;
}
.cookie-modal .cookie-close:hover {
  color: var(--color-secondary);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1160px) {
  .container { max-width: 98vw; }
  .footer-nav { gap: 11px; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 14px; }
  .feature { min-width: 200px; padding: 16px 12px 12px 12px; }
  .container { padding: 0 9px; }
}
@media (max-width: 820px) {
  .container { max-width: 100vw; padding: 0 5vw; }
  .hero .content-wrapper { max-width: 97vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.23rem; }
  .container { padding: 0 8px; }
  .section {
    padding: 22px 8px;
    margin-bottom: 38px;
  }
  .feature {
    min-width: 140px;
    max-width: 98vw;
    padding: 12px 10px 14px 10px;
    flex: 1 1 120px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.01rem;
    padding: 13px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 650px) {
  header .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 8px 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav { margin-top: 16px; }
  .contact-footer { margin-top: 3px; }
  .content-wrapper { margin-bottom: 14px; }
  .newsletter form { flex-direction: column; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.07rem; }
  .container, .section { padding: 0 2vw; }
  .feature, .card, .testimonial-card, .section { border-radius: 10px; }
  .cookie-banner { flex-direction: column; gap: 10px; padding: 11px 8px; font-size: 0.98rem; }
  .cookie-banner p { flex-basis: 99vw; font-size: 0.99rem; }
}

/* ========== NEON GLOW EFFECTS ========== */
.button.primary, .button.primary:hover, .button.primary:focus {
  box-shadow: 0 0 0 0 #23e0b735, 0 4px 18px #23e0b74d, var(--shadow-2);
  text-shadow: 0 0 4px #23e0b760;
  border-width: 2px;
}
.feature h3, .trend-highlights h3,
.testimonial-card blockquote, .faq-item h3 {
  text-shadow: 0 0 7px #23e0b746;
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.button, .button.primary, button {
  transition: background 0.19s, color 0.18s, box-shadow 0.19s, transform 0.12s;
}
.card, .feature, .testimonial-card, .feature-item {
  transition: box-shadow 0.21s, transform 0.17s;
}
.card:hover, .feature:hover, .card:focus-within, .feature:focus-within {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 10px 38px #23e0b72c, 0 2px 24px #182133cc;
  z-index: 2;
}
input, textarea { transition: border-color 0.15s, background 0.18s; }

/* ========== UTILITY CLASSES ========== */
.hide { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden;
}

/* ========== BRAND FONTS LOADER (WEB FONTS) ========== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
