/* ---------------------- CSS RESET / NORMALIZATION ------------------------ */
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, main, 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 { line-height: 1.5; background: #F8F9FB; color: #1A3753; }
:root {
  --primary: #1A3753;
  --secondary: #B3881A;
  --accent: #F8F9FB;
  --brandpurple: #7046B1;
  --brandorange: #FB8500;
  --brandaqua: #57D9C1;
  --textonlight: #1A3753;
  --textondark: #fff;
}
img { max-width: 100%; display: block; }
ul, ol { list-style-position: inside; margin-left: 0px; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}

/* --------------------------------- FONTS ---------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Oswald:500,700|Roboto:300,400,500,700&display=swap');
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: var(--accent);
  color: var(--textonlight);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
h4, h5, h6 { margin-bottom: 8px; font-weight: 500; }
p, li, ul, ol { font-size: 1rem; color: var(--primary); }
ul { margin-top: 12px; margin-bottom: 16px; }
li { margin-bottom: 8px; }

strong, b { font-weight: 700; color: var(--secondary); }

/* creative artistic font effect for headings */
h1, h2 {
  text-shadow: 2px 2px var(--brandpurple), 0px 2px 4px rgba(27, 17, 66, 0.08);
}

/* ----------------------------- GENERAL LAYOUT ------------------------------ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 32px rgba(26, 55, 83, 0.11);
  padding: 32px 28px;
  margin-bottom: 20px;
}
.text-section {
  background: var(--accent);
  box-shadow: none;
}

/* ---------------------- HEADER & NAVIGATION ---------------------- */
header {
  background: #fff;
  border-bottom: 4px solid var(--secondary);
  width: 100%;
  z-index: 100;
  position: relative;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 22px;
}
header img[alt="SheenGear Analyse"] {
  height: 48px;
  min-width: 120px;
  margin-right: 18px;
}
.main-nav {
  display: flex; flex-wrap: wrap; gap: 18px;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 4px 10px;
  letter-spacing: 1px;
  color: var(--primary);
  border-radius: 8px;
  transition: background 0.2s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
  background: var(--secondary);
}

.cta-button {
  font-family: 'Oswald', Arial, sans-serif;
  background: var(--brandorange);
  color: var(--textondark);
  padding: 10px 32px;
  margin-left: 12px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 18px rgba(239,120,17, 0.08);
  letter-spacing: 1.3px;
  transition: background 0.22s, color 0.22s, box-shadow 0.18s;
  cursor: pointer;
  border: none;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brandpurple);
  color: #fff;
  box-shadow: 0 3px 12px var(--brandpurple), 0 1px 8px var(--secondary);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--brandorange);
  font-size: 2.2rem;
  padding: 9px 13px;
  border-radius: 19px;
  border: 2px solid var(--brandorange);
  transition: background 0.2s, color 0.18s, border 0.18s, box-shadow 0.22s;
  margin-left: 10px;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brandpurple);
  color: #fff;
  border-color: var(--brandpurple);
  box-shadow: 0 2px 12px var(--brandpurple), 0 1px 6px var(--secondary);
}

/* -------------- MOBILE MENU --------------- */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,55,83, 0.98);
  color: #fff;
  z-index: 500;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  padding-top: 0;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.56,0,0,1.1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 22px 0 0;
  background: none;
  color: var(--secondary);
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.16s, background 0.16s;
}
.mobile-menu-close:hover { color: var(--brandorange); background: rgba(0,0,0,0.07); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 30px 38px 10px 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  padding: 14px 6px 9px 4px;
  border-radius: 8px;
  font-family: 'Oswald',Arial,sans-serif;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.16s;
  border-left: 5px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brandorange);
  color: var(--textondark);
  border-left: 5px solid var(--secondary);
}

/* --------------- HERO SECTIONS ------------- */
.hero {
  background: linear-gradient(90deg, #F8F9FB 60%, #E9E0F6 100%);
  padding: 0;
  margin-bottom: 56px;
  border-bottom: 5px solid var(--brandpurple);
}
.hero .container {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 280px;
  padding-top: 60px; padding-bottom: 60px;
}
.hero .content-wrapper {
  background: rgba(255,255,255,0.93);
  text-align: center;
  box-shadow: 0 5px 28px 0 rgba(112,70,177,0.11);
  border-radius: 16px;
  padding: 40px 22px;
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
}
.hero h1 {
  color: var(--brandpurple);
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: 1.3px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--primary);
}
.hero .cta-button {
  margin-top: 18px;
  font-size: 1.15rem;
}

/* -------------- FEATURE & CARD GRID --------------- */
.feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.feature-grid > div, .card {
  flex: 1 1 220px;
  min-width: 220px;
  background: linear-gradient(130deg, #fff 88%, #EBF5F3 100%);
  border-radius: 16px;
  box-shadow: 0 2px 13px rgba(112,70,177,0.09), 0 0.5px 0.2px var(--brandorange);
  padding: 28px 22px 25px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.feature-grid > div:hover, .card:hover {
  transform: translateY(-8px) scale(1.02) rotate(-0.2deg);
  box-shadow: 0 8px 26px 2px var(--brandpurple), 0 6px 16px var(--secondary);
  z-index: 3;
}
.feature-grid img {
  height: 52px;
  margin-bottom: 14px;
}
.feature-grid h3 {
  color: var(--brandpurple);
  font-size: 1.2rem;
  margin-bottom: 9px;
  font-family: 'Oswald', Arial, sans-serif;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  gap: 10px;
}

.card-container .card {
  min-width: 250px;
}
.content-grid {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 22px rgba(80,30,140,0.06);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* -------------------- TESTIMONIALS + RATINGS ------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F9FB;
  color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(26,55,83,0.08);
  margin-bottom: 28px;
  font-size: 1.09rem;
  transition: transform 0.14s, box-shadow 0.14s;
  border-left: 5px solid var(--brandpurple);
}
.testimonial-card p {
  margin: 0 0 0 0;
  font-style: italic;
  color: var(--primary);
}
.testimonial-card span {
  font-size: 0.88rem;
  color: var(--brandorange);
  margin-left: 18px;
  font-style: normal;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-left: 8px solid var(--brandorange);
  box-shadow: 0 10px 28px 0 rgba(112,70,177,0.13);
}
.user_ratings {
  font-size: 1.08rem;
  color: var(--brandpurple);
  font-weight: 700;
  margin-top: 12px;
}

/* --------------------- BUTTONS ----------------------- */
button, .button {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.22s, color 0.12s, box-shadow 0.16s, border 0.16s;
  padding: 10px 28px;
  background: var(--brandpurple);
  color: #fff;
  border: none;
  font-weight: 600;
  outline: none;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--brandorange);
  color: #fff;
  box-shadow: 0 3px 16px var(--brandpurple), 0 0.5px 8px var(--secondary);
  border: none;
}
.cta-area {
  margin: 16px 0 16px 0;
  display: flex; flex-direction: row; gap: 16px;
}

/* ------------------------ TYPOGRAPHY + TABLES ------------------- */
table {
  border-collapse: collapse;
  background: #fff;
  width: 100%;
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(80,30,140,0.07);
}
th, td {
  padding: 14px 10px;
  border-bottom: 1px solid #ECDFCA;
  text-align: left;
  color: var(--brandpurple);
}
th {
  background: var(--brandorange);
  color: #fff;
  font-size: 1.09rem;
  border-bottom: 1px solid var(--brandpurple);
}
tbody tr:last-child td {
  border-bottom: none;
}
.profile-summaries {
  margin-top: 20px;
  margin-bottom: 24px;
}
.company-timelines {
  margin-top: 12px;
}
.company-timelines ul {
  margin-top: 7px;
}

a {
  transition: color 0.2s;
}
a:hover {
  color: var(--brandorange);
}

/* ------------------------ FOOTER ------------------------ */
footer {
  background: linear-gradient(90deg, #1A3753 70%, #B3881A 100%);
  color: #fff;
  padding-top: 38px;
  padding-bottom: 18px;
  font-size: 1rem;
  margin-top: 60px;
  letter-spacing: 0.12em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 160px;
  margin-bottom: 12px;
}
.footer-links a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  transition: color 0.18s;
  font-size: 1.06rem;
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--brandorange);
}
.contact-info {
  font-size: 0.99rem;
  line-height: 1.6;
  color: #fff;
  min-width: 240px;
  font-family: 'Roboto', Arial, sans-serif;
}
.contact-info img {
  height: 18px; width: auto; margin-right: 8px;
  vertical-align: middle;
}
.social-links {
  display: flex; gap: 12px;
  align-items: center;
}
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background 0.21s;
}
.social-links a:hover {
  background: var(--brandpurple);
}
.social-links img {
  height: 26px; width: 26px;
}

/*------------------- COOKIE CONSENT BANNER -------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: var(--primary);
  border-top: 4px solid var(--brandorange);
  z-index: 1500;
  box-shadow: 0 -2px 24px rgba(80,30,140,0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 30px;
  max-width: 100vw;
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  font-size: 1rem; color: var(--primary); max-width: 740px; margin-right: 18px;
}
.cookie-banner .cookie-banner-actions {
  display: flex; flex-direction: row; gap: 12px;
}
.cookie-btn {
  border-radius: 40px;
  border: none;
  padding: 8px 22px;
  font-family: 'Oswald', Arial, sans-serif;
  background: var(--brandorange);
  color: #fff;
  font-size: 1.06rem;
  font-weight: 600;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.19s, color 0.11s;
}
.cookie-btn.cookie-reject {
  background: var(--brandpurple);
}
.cookie-btn.cookie-settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brandorange);
  color: #fff;
  box-shadow: 0 2px 12px var(--brandpurple);
}
.cookie-btn.cookie-reject:hover {
  background: #222;
}
.cookie-btn.cookie-settings:hover {
  background: var(--brandpurple);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,20,60,0.45);
  z-index: 1600;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  max-width: 410px;
  box-shadow: 0 6px 50px 0 rgba(80,30,140,0.15), 0 3px 25px var(--brandpurple);
  padding: 35px 32px 30px 32px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  animation: cookieModal-in 0.36s cubic-bezier(.21,-0.03,.48,1.12);
}
@keyframes cookieModal-in {
  from { transform: translateY(80px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; font-size: 1.6rem;
  color: var(--brandorange);
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover {
  color: var(--brandpurple);
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 10px; margin: 10px 0 16px 0;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif; font-size: 1rem;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: var(--secondary);
  width: 17px; height: 17px;
}
.cookie-category input[type="checkbox"][disabled] {
  accent-color: #CCC;
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 1200px) {
  .container { max-width: 950px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .feature-grid, .card-container { gap: 13px; }
  .footer-links, .contact-info, .social-links { min-width: unset; }
  .footer-links { flex: 1; }
  .contact-info { flex: 2; }
}
@media (max-width: 768px) {
  html, body { font-size: 15px; }
  .container { max-width: 100vw; }
  .section { margin-bottom: 48px; padding-top: 24px; padding-bottom: 24px; }
  .content-wrapper { padding: 18px 8px; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .text-section {
    border-radius: 12px;
    box-shadow: 0 1px 14px rgba(80,30,140,0.04);
    padding: 18px 7px;
  }
  .hero .container { padding-top: 34px; padding-bottom: 34px; }
  .hero h1 { font-size: 2rem; }
  .card, .feature-grid > div { min-width: 99%; }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 7px; padding-bottom: 7px;
  }
  .cta-button { margin-left: 0; }
  .footer-links, .social-links, .contact-info { margin-bottom: 12px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .profile-summaries, .company-timelines { margin-left: 0; }
  .cookie-banner { flex-direction: column; gap: 12px; align-items: flex-start; padding: 16px 10px; }
  .cookie-banner .cookie-banner-actions { flex-direction: row; gap: 10px; }
}
@media (max-width: 530px) {
  html, body { font-size: 14px; }
  .hero h1 { font-size: 1.4rem; }
  h2 { font-size: 1.09rem; }
  .container { padding-left: 8px; padding-right: 8px; }
  .contact-info img { height: 14px; }
  .cookie-modal-content { max-width: 98vw; padding: 20px 8px 16px 10px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* Spacing for all cards/sections */
.section, .card, .feature-grid > div, .content-wrapper, .testimonial-card, .footer-links, .contact-info, .social-links {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .text-image-section {
  gap: 20px;
}

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

/* Custom artistic decoration (optional) */
.feature-grid > div::before {
  content: "";
  display: block;
  position: absolute;
  top: -10px; left: -10px;
  width: 32px; height: 32px;
  background: var(--brandpurple);
  opacity: 0.07;
  border-radius: 50%;
  z-index: 0;
}
.feature-grid > div:hover::before {
  opacity: 0.15;
}

/* Table mobile scroll */
@media (max-width: 650px) {
  table, thead, tbody, th, td, tr {
    display: block; width: 100%;
  }
  thead tr { display: none; }
  td {
    padding-left: 40%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }
  td:before {
    position: absolute;
    top: 12px;
    left: 10px;
    width: 37%;
    white-space: pre-wrap;
    font-weight: bold;
    content: attr(data-label);
    color: var(--brandorange);
  }
}

/* Misc element spacing for harmony */
ul li { margin-bottom: 8px; }

/* Hide visually hidden utility */
.visually-hidden { position: absolute; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
