/* ===============================
   CSS RESET & NORMALIZE
   =============================== */
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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FFF;
  color: #2C3E50;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

*, *:before, *:after {
  box-sizing: inherit;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #4A90E2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2C3E50;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1rem;
  margin-bottom: 1rem;
}
ul li, ol li {
  margin-bottom: 0.5em;
}

/* ===============================
   BRAND – COLORS & FONTS
   =============================== */
:root {
  --primary: #2C3E50;
  --secondary: #4A90E2;
  --accent: #F4EDEB;

  --creative-purple: #7C4DFF;
  --creative-orange: #FF955B;
  --creative-pink: #EB4D8C;
  --creative-blue: #49E3FC;

  --display-font: 'Roboto Slab', serif;
  --body-font: 'Open Sans', Arial, Helvetica, sans-serif;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --shadow-card: 0 6px 16px rgba(44, 62, 80, 0.12);
  --shadow-hover: 0 10px 24px rgba(44, 62, 80, 0.17);

  --transition: 0.30s cubic-bezier(.77,.12,.34,1);
}

/* ===============================
   TYPOGRAPHY
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 var(--accent);
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.48rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.subline {
  font-family: var(--body-font);
  color: var(--creative-pink);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  line-height: 1.25;
}
p {
  font-family: var(--body-font);
  font-size: 1rem;
  margin-bottom: 17px;
  color: #333;
}
strong {
  font-weight: 700;
  color: var(--creative-purple);
}

/* ===============================
   LAYOUT CONTAINERS & FLEXBOX
   =============================== */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  margin-bottom: 24px;
  border-left: 7px solid var(--secondary);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 270px;
  flex: 1 0 280px;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.02) rotate(-1deg);
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe9;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px 0 #eee2d0;
  margin-bottom: 20px;
  border-left: 7px solid var(--creative-pink);
  font-size: 1.12rem;
  color: #261b1f;
}
.testimonial-card p {
  color: #261b1f;
  font-style: italic;
  margin-bottom: 8px;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--creative-purple);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.price-note {
  background: var(--creative-blue);
  color: var(--primary);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 10px;
}

/* ===============================
   NAVIGATION (DESKTOP & MOBILE)
   =============================== */
header {
  background: linear-gradient(90deg, #7C4DFF 0%, #4A90E2 100%);
  padding: 0 0 6px 0;
  box-shadow: 0 2px 18px 0 rgba(44,62,80,0.09);
  position: relative;
  z-index: 15;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  height: 74px;
  padding: 0 0;
  position: relative;
}
.main-nav > a {
  font-family: var(--display-font);
  font-size: 1.13rem;
  font-weight: 600;
  color: #fff;
  padding: 0.65em 0.98em;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.main-nav > a.cta.primary {
  background: var(--creative-orange);
  color: var(--primary);
  margin-left: auto;
  font-weight: 800;
  box-shadow: 0 4px 16px 0 rgba(255,149,91,0.12);
}
.main-nav > a:hover, .main-nav > a:focus {
  background: var(--creative-blue);
  color: var(--primary);
}
.main-nav img {
  height: 42px;
  margin-right: 10px;
}
/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--creative-orange);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  border-radius: 100px;
  padding: 0.43em 0.7em;
  cursor: pointer;
  margin-left: auto;
  margin-right: 6px;
  box-shadow: 0 3px 12px 0 rgba(255,105,50,.09);
  z-index: 21;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--creative-purple);
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fffbe9;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 99;
  transform: translateX(-100vw);
  transition: transform 0.43s cubic-bezier(.77,.12,.34,1);
  box-shadow: 10px 0 32px 0 rgba(124,77,255,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  color: var(--creative-pink);
  margin: 29px 23px 17px 0;
  cursor: pointer;
  z-index: 100;
  transition: color var(--transition);
}
.mobile-menu-close:hover { color: var(--creative-purple); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--display-font);
  font-size: 1.18rem;
  color: var(--primary);
  padding: 14px 7px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--creative-pink);
  color: #fff;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 8px;
  }
  .main-nav>a {
    font-size: 1rem;
    padding: 0.5em 0.7em;
  }
  .main-nav img {
    height: 36px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 92vw;
  }
}
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===============================
   CTA & BUTTONS
   =============================== */
.cta, .btn, button, input[type="submit"] {
  font-family: var(--display-font);
  padding: 0.75em 1.7em;
  border-radius: var(--radius-md);
  background: var(--creative-purple);
  color: #fff;
  font-weight: 700;
  font-size: 1.14rem;
  border: none;
  outline: none;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 4px 20px 0 rgba(124,77,255,0.09);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cta {
  display: inline-block;
  text-align: center;
}
.cta.primary, .cta.primary:visited {
  background: var(--creative-orange);
  color: var(--primary);
  font-weight: 900;
}
.cta:hover, .btn:hover, button:hover, input[type="submit"]:hover {
  background: var(--creative-pink);
  color: #fff;
  transform: translateY(-2px) scale(1.03) rotate(-1.5deg);
}
.cta.primary:hover { background: var(--creative-purple); color: #fff; }

/* ===============================
   FOOTER
   =============================== */
footer {
  background: linear-gradient(90deg, #2C3E50 0%, #7C4DFF 100%);
  color: #fff;
  padding: 38px 0 0 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #fffbe9;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--creative-blue); }
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  justify-content: center;
  padding: 20px 0 10px 0;
}
.footer-info img {
  width: 48px;
  height: auto;
  margin-top: 5px;
}
footer address {
  color: #fff;
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.5;
}
footer a {
  color: #eb4d8c;
  text-decoration: underline;
}
footer a:hover {
  color: var(--creative-blue);
}
@media (max-width:680px) {
  .footer-info {
    flex-direction: column;
    gap: 17px;
    align-items: center;
  }
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
.cookie-banner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 22px 20px;
  background: #fffbe9;
  color: #2C3E50;
  z-index: 1200;
  box-shadow: 0 -2px 16px 0 rgba(44,62,80,0.10);
  border-top: 4px solid var(--creative-orange);
  animation: banner-in 0.7s cubic-bezier(.19,1,.22,1);
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 11px;
}
.cookie-banner .cta {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.6em 1.2em;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}
.cookie-banner .cta.accept {
  background: var(--creative-purple);
  color: #fff;
}
.cookie-banner .cta.reject {
  background: #fff;
  color: var(--creative-pink);
  border: 1.5px solid var(--creative-pink);
}
.cookie-banner .cta.settings {
  background: var(--creative-blue);
  color: var(--primary);
}
.cookie-modal {
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fffbe9;
  color: var(--primary);
  z-index: 1300;
  min-width: clamp(312px, 90vw, 470px);
  padding: 36px 30px 29px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px 0 rgba(124,77,255,0.18);
  animation: cookieModalIn 0.42s cubic-bezier(.19,1,.22,1);
}
@keyframes cookieModalIn {
  from { opacity:0; transform: translate(-50%, 10%) scale(.97); }
  to   { opacity:1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 19px; top: 15px;
  background: none;
  border: none;
  color: var(--creative-pink);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--creative-purple);
}
.cookie-modal h2 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 700;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 15px 0 21px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category label {
  font-family: var(--body-font);
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--creative-blue);
  width: 1.09em;
  height: 1.09em;
}
.cookie-category .always-on {
  color: var(--creative-purple);
  font-weight: 700;
  font-size: 0.96rem;
  margin-left: 7px;
}
.cookie-modal .cta {
  margin-top: 0;
}
/* Overlay for cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0;
  height: 100vh; width: 100vw;
  background: rgba(44,62,80,0.38);
  z-index: 1299;
  animation: fadein 0.3s;
}
@keyframes fadein { from{opacity:0;} to{opacity:1;} }

/* ===============================
   ARTISTIC EFFECTS & DETAILS
   =============================== */
/* Artistic border-swirl for hero titles */
h1, h2 {
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  height: 7px;
  width: 83px;
  background: var(--creative-orange);
  border-radius: 20px;
  margin-top: 9px;
  position: relative;
  left: 0;
  opacity: 0.55;
}
h1:after { background: linear-gradient(90deg, var(--creative-orange), var(--creative-pink), var(--creative-blue)); opacity: 0.67; }

.card {
  border: 2.7px dashed var(--creative-blue);
}
.card:before {
  content: '';
  display: block;
  position: absolute;
  top: -15px; right: -15px;
  width: 64px; height: 64px;
  background: rgba(124,77,255,0.09);
  border-radius: 32px;
  z-index: 1;
  pointer-events: none;
}
.card:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -16px; left: -18px;
  width: 44px; height: 44px;
  background: rgba(255,149,91,0.08);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.card > * {
  position: relative;
  z-index: 2;
}

.testimonial-card {
  border-left: 7px solid var(--creative-pink);
  background: #fffbe9;
  box-shadow: 0 2px 12px 0 #eee2d0;
}

/* Micro-interactions */
a, .cta, .btn, button, input[type="submit"] {
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card, .testimonial-card {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 40px 0 rgba(236,60,135,0.10);
  transform: translateY(-3px) scale(1.012) rotate(-1deg);
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 900px) {
  .footer-info { flex-direction: column; gap: 18px; }
  .main-nav .cta.primary { margin-left: 0; }
  .container { padding: 0 6px; }
}
@media (max-width:768px) {
  html { font-size:15px; }
  h1 { font-size:2rem !important; }
  h2 { font-size:1.4rem !important; }
  .content-wrapper { gap: 16px; }
  .section { padding:30px 8px; margin-bottom: 34px; }
  .card-container, .content-grid { gap:16px; }
  .card { min-width:220px; flex:1 0 210px; }
  .text-image-section {
    flex-direction: column;
    gap:20px;
    align-items: flex-start;
  }
  .testimonial-card { padding:15px; font-size:1rem; }
}
@media (max-width:600px) {
  .footer-nav { gap:14px; }
  .footer-info { gap:9px; padding:10px 0; }
  .footer-info img { width:36px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 7px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    min-width: 98vw;
    padding: 20px 8px;
  }
  .cookie-modal h2 { font-size:1.08rem; }
  .main-nav img { height:28px !important; margin-right:5px; }
}

/* ===============================
   UTILITIES & MISC
   =============================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-2 { margin-top: 22px; }
.mb-2 { margin-bottom: 22px; }

/* ===============================
   FORMS (Contact/Newsletter...)
   =============================== */
input, select, textarea {
  font-family: var(--body-font);
  font-size: 1rem;
  border-radius: var(--radius-md);
  padding: 0.8em 1em;
  border: 1.5px solid #dee1ec;
  margin-bottom: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--creative-pink);
  outline: none;
  box-shadow: 0 2px 22px 0 rgba(124,77,255,0.09);
}

label {
  font-family: var(--body-font);
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 600;
}

/* ===============================
   ACCESSIBILITY: FOCUS OUTLINE
   =============================== */
a:focus, button:focus, .cta:focus {
  outline: 2.3px dotted var(--creative-orange);
  outline-offset: 2.3px;
}

/* ===============================
   PRINT OVERRIDE
   =============================== */
@media print {
  header, footer, nav, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop { display:none !important; }
  .container { max-width:100vw; padding:0; }
  section, .text-section { padding:0; border:none; margin:0; box-shadow:none; background: #fff; }
}

/* ===============================
   END OF CSS
   =============================== */
