/* ==== CSS RESET & BASELINE ==== */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #F5F7FA;
  color: #222C40;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:root {
  --brand-primary: #2E3C54;
  --brand-secondary: #C17C2B;
  --brand-accent: #F5F7FA;
  --brand-electric-pink: #F549A6;
  --brand-electric-blue: #36A7FF;
  --brand-electric-lime: #8DF542;
  --brand-shadow: rgba(46,60,84,0.13);
  --brand-dark: #181B26;
  --radius: 16px;
  --spacer-xs: 8px;
  --spacer-sm: 16px;
  --spacer-md: 24px;
  --spacer-lg: 32px;
  --spacer-xl: 48px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--brand-secondary);
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.55,0,.1,1);
}
a:hover, a:focus {
  color: var(--brand-electric-pink);
}
strong {
  font-weight: 700;
  color: var(--brand-primary);
}
em {
  font-style: italic;
  color: var(--brand-electric-blue);
}
ul, ol {
  margin-left: var(--spacer-lg);
  margin-bottom: var(--spacer-md);
}
li {
  margin-bottom: var(--spacer-sm);
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  margin-bottom: var(--spacer-sm);
}
h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin-bottom: var(--spacer-md);
}
h2 {
  font-size: 2rem;
  margin-bottom: var(--spacer-md);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacer-sm);
}
h4 {
  font-size: 1.15rem;
}
p {
  margin-bottom: var(--spacer-md);
  font-size: 1.1rem;
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: var(--spacer-sm);
  padding-right: var(--spacer-sm);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacer-md);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px var(--brand-shadow);
  transition: transform 0.15s cubic-bezier(.74,0,.17,1), box-shadow 0.15s cubic-bezier(.74,0,.17,1);
}
.card:hover {
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 14px 36px var(--brand-shadow);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px var(--brand-shadow);
  border-left: 5px solid var(--brand-electric-pink);
  min-height: 80px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.cta-banner {
  background: var(--brand-electric-lime);
  color: var(--brand-primary);
  padding: 40px 0;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--brand-shadow);
  margin-bottom: 60px;
}

/* ==== HEADER/NAVIGATION ==== */
header {
  background: #fff;
  box-shadow: 0 2px 18px var(--brand-shadow);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: var(--spacer-md);
}
.logo {
  display: flex;
  align-items: center;
  height: 50px;
}
.logo img {
  height: 48px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: var(--spacer-md);
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-primary);
  letter-spacing: 0.03em;
  padding: 10px 8px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-electric-pink);
  color: #fff;
}
.cta-button {
  background: var(--brand-secondary);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 100px;
  padding: 13px 28px;
  margin-left: var(--spacer-sm);
  box-shadow: 0 2px 12px var(--brand-shadow);
  cursor: pointer;
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
  outline: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brand-electric-pink);
  color: #fff;
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 8px 24px var(--brand-shadow);
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  background: var(--brand-electric-pink);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: var(--spacer-md);
  cursor: pointer;
  transition: background 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(46,60,84,0.98);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.51,-0.01,0,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 26px;
  right: 22px;
  z-index: 201;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-xl);
  padding: 100px 40px 60px 40px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 10px 0;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-electric-lime);
  color: var(--brand-primary);
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(80deg, var(--brand-electric-blue) 65%, var(--brand-electric-pink) 100%);
  color: #fff;
  text-align: left;
  padding: 64px 0 56px 0;
  border-radius: 0 0 48px 48px;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacer-xl);
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgb(46 60 84 / 25%);
  font-size: 2.6rem;
}
.hero p {
  color: #FAF9F5;
  font-size: 1.25rem;
  margin-bottom: var(--spacer-md);
  font-family: 'Open Sans', Arial, sans-serif;
}
.hero .cta-button {
  background: var(--brand-electric-lime);
  color: var(--brand-primary) !important;
  font-size: 1.1rem;
}
.hero .cta-button:hover {
  background: #fff;
  color: var(--brand-secondary) !important;
}

/* ==== USP ICONS ==== */
.usp-icons {
  display: flex;
  flex-direction: row;
  gap: var(--spacer-lg);
  align-items: center;
  justify-content: flex-start;
  margin: var(--spacer-lg) 0;
}
.usp-icons div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacer-xs);
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  font-size: 0.99rem;
  background: var(--brand-electric-blue);
  padding: 18px 12px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--brand-shadow);
  min-width: 90px;
  position: relative;
  transition: transform 0.17s;
}
.usp-icons div:hover {
  transform: scale(1.07);
  background: var(--brand-electric-pink);
  color: #fff;
}
.usp-icons img {
  height: 34px;
  margin-bottom: 5px;
}
.usp-icons span {
  margin-top: 4px;
  font-size: 0.95rem;
  text-align: center;
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px var(--brand-shadow);
  margin-bottom: 60px;
  padding: 30px 0;
}
.testimonials .testimonial-card {
  background: #F5F7FA;
  border-left: 5px solid var(--brand-electric-blue);
  color: var(--brand-primary);
  box-shadow: 0 3px 10px var(--brand-shadow);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.testimonials .testimonial-card p {
  color: #1d283a;
  margin-bottom: var(--spacer-xs);
}
.testimonials .testimonial-card span {
  font-size: 0.97rem;
  color: var(--brand-secondary);
  font-style: italic;
}

/* ==== CARDS ==== */
.card {
  padding: var(--spacer-lg);
  background: #fff;
  border: 2px solid var(--brand-electric-blue);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px var(--brand-shadow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==== TABLES ==== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacer-md);
  margin-top: var(--spacer-sm);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--brand-shadow);
  font-size: 1rem;
  overflow: hidden;
}
thead {
  background: var(--brand-primary);
  color: #fff;
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 16px;
  font-size: 1.06rem;
  text-align: left;
}
tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--brand-accent);
  color: var(--brand-primary);
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: var(--brand-electric-lime);
}

/* ==== FOOTER ==== */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 36px 0 0 0;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacer-md);
}
.footer-logo img {
  height: 46px;
  filter: brightness(110%);
}
.footer-nav {
  display: flex;
  gap: var(--spacer-lg);
  margin-bottom: var(--spacer-md);
}
.footer-nav a {
  color: var(--brand-electric-lime);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-electric-pink);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--spacer-lg);
  align-items: flex-start;
  font-size: 0.97rem;
  margin-bottom: var(--spacer-lg);
  color: var(--brand-electric-lime);
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: var(--spacer-xs);
  min-width: 210px;
}
.footer-contact img {
  width: 22px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacer-md);
}

/* ==== CONTENT COMPONENTS ==== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-sm);
  margin-bottom: var(--spacer-md);
  font-size: 1.07rem;
}
.contact-info img {
  width: 24px;
  vertical-align: middle;
  margin-right: var(--spacer-xs);
}
.contact-info a {
  color: var(--brand-electric-blue);
  font-weight: 600;
  text-decoration: underline;
}
.contact-info a:hover {
  color: var(--brand-electric-pink);
}

/* ==== UTILITY CLASSES ==== */
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacer-xs)!important; }
.mb-2 { margin-bottom: var(--spacer-sm)!important; }
.mb-3 { margin-bottom: var(--spacer-md)!important; }
.mb-4 { margin-bottom: var(--spacer-lg)!important; }

/* ==== ANIMATIONS & EFFECTS ==== */
@keyframes bounce-in {
  from { transform: scale(.89) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cta-banner, .testimonial-card, .card, .usp-icons div {
  animation: bounce-in 0.75s cubic-bezier(.52,1.44,.58,1) 0.02s;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 -2px 18px var(--brand-shadow);
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacer-lg);
  padding: 24px 8vw 18px 8vw;
  font-size: 1.08rem;
  border-top-right-radius: var(--radius);
  border-top-left-radius: var(--radius);
  animation: bounce-in 0.7s cubic-bezier(.52,1.44,.58,1) 0.11s;
}
.cookie-banner__text {
  flex: 3 1 70%;
  margin-right: var(--spacer-lg);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: var(--spacer-sm);
  flex: 1 1 auto;
  align-items: center;
}
.cookie-banner__button {
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  outline: none;
  margin: 0 0 0 6px;
  transition: background 0.12s, color 0.12s, box-shadow 0.16s;
  box-shadow: 0 2px 10px var(--brand-shadow);
}
.cookie-banner__button.accept {
  background: var(--brand-electric-lime);
  color: var(--brand-primary);
}
.cookie-banner__button.accept:hover {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-banner__button.reject {
  background: var(--brand-electric-pink);
  color: #fff;
}
.cookie-banner__button.reject:hover {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner__button.settings {
  background: var(--brand-electric-blue);
  color: #fff;
}
.cookie-banner__button.settings:hover {
  background: var(--brand-secondary);
  color: #fff;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(46,60,84,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s cubic-bezier(.5,0,.7,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__content {
  background: #fff;
  padding: 38px 24px;
  border-radius: var(--radius);
  max-width: 440px;
  width: 92vw;
  box-shadow: 0 8px 32px var(--brand-shadow);
  animation: bounce-in 0.6s cubic-bezier(.52,1.44,.58,1) 0.11s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacer-md);
  color: var(--brand-primary);
  font-size: 1.08rem;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 14px;
  font-size: 2rem;
  color: var(--brand-electric-blue);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  margin-bottom: var(--spacer-sm);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-sm);
}
.cookie-categories label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  gap: 12px;
}
.cookie-categories input[type="checkbox"] {
  accent-color: var(--brand-electric-blue);
  width: 20px;
  height: 20px;
}
.cookie-category-essential {
  color: var(--brand-secondary);
  font-weight: 700;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: var(--spacer-lg);
  margin-top: var(--spacer-md);
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal__actions .cookie-banner__button {
  min-width: 110px;
}

/* ---- THANK YOU SECTION ---- */
.thanks {
  background: var(--brand-electric-lime);
  padding: 64px 0;
  text-align: center;
  border-radius: var(--radius);
  min-height: 310px;
  margin-bottom: 60px;
}
.thanks h1 {
  color: var(--brand-primary);
}
.thanks .cta-button {
  margin-top: var(--spacer-md);
}


/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1150px) {
  .container { max-width: 94vw; }
  .main-nav { gap: var(--spacer-sm); }
  .usp-icons { flex-wrap: wrap; gap: var(--spacer-md); }
  .footer-contact { gap: var(--spacer-md); }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 34px 0; }
  .hero h1 { font-size: 2.1rem; }
  .usp-icons { gap: var(--spacer-sm); }
  .footer-contact { flex-direction: column; }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .footer-nav { flex-direction: column; gap: var(--spacer-sm); }
  .footer-contact { flex-direction: column; gap: var(--spacer-xs); }
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: var(--spacer-sm); }
  .usp-icons { flex-direction: column; gap: var(--spacer-xs); align-items: flex-start; }
  .hero { border-radius: 0 0 28px 28px; padding: 36px 0 24px 0; }
  .hero h1 { font-size: 1.5rem; }
  .section { padding: 26px 8px; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { flex-direction: column; gap: 8px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .cta-banner { padding: 22px 0; margin-bottom: 32px; }
  .cookie-banner {
    flex-direction: column;
    gap: var(--spacer-xs);
    padding: 18px 2vw 16px 2vw;
    font-size: 1rem;
  }
  .cookie-banner__actions { gap: var(--spacer-xs); justify-content: flex-start; }
}
@media (max-width: 540px) {
  .footer-logo img { height: 38px; }
  .cookie-modal__content { padding: 16px 6px; }
  .cookie-modal__actions { flex-direction: column; gap: var(--spacer-xs); }
}

/* ==== PRINT RESET ==== */
@media print {
  * { color: #000 !important; background: transparent !important; }
  header, .mobile-menu, footer, .cta-banner, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff !important; }
  .section, .container { box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; }
}

/* ==== FLEX WRAPPING SPACING FIXES ==== */
.card-container > *, .content-grid > *, .usp-icons > * {
  min-width: 0;
  min-height: 0;
  margin-bottom: 0;
}

/* ==== Z-INDEX LAYERS ==== */
header { z-index: 50; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 1500; }
.cookie-modal { z-index: 1700; }

/* ==== FOCUS STYLES ==== */
:focus {
  outline: 2px solid var(--brand-electric-lime);
  outline-offset: 1px;
}

/* ==== MICRO-INTERACTIONS (GENERAL) ==== */
button, .cta-button, .cookie-banner__button {
  transition: transform 0.18s cubic-bezier(.4,.9,.6,1), background 0.17s, box-shadow 0.17s;
}
button:active, .cta-button:active, .cookie-banner__button:active {
  transform: scale(0.96);
}
.mobile-menu-toggle:active {
  transform: scale(1.06) rotate(8deg);
}

/* ==== OVERRIDES FOR DARK TEXT REQUIRED SECTIONS ==== */
.testimonials .testimonial-card, .testimonial-card {
  background: #f8fafc;
  color: var(--brand-dark);
  border-left: 5px solid var(--brand-electric-blue);
}

/* ==== END STYLE ==== */
