/* --- CSS RESET & BASE --- */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; max-width:100%; display: block; }
button, input, select, textarea { font: inherit; }
:focus { outline: none; }

/* --- CSS VARIABLES (with fallbacks for solid pastel palette) --- */
:root {
  --primary: #273347;
  --secondary: #00aeef;
  --accent: #f8fafc;
  /* Soft pastel intentional palette for brand feel */
  --pastel-blue: #c7e7f9;
  --pastel-purple: #e7d9fb;
  --pastel-pink: #ffdced;
  --pastel-mint: #d8f6ed;
  --pastel-yellow: #fff6c6;
  --gray-100: #f3f7fa;
  --gray-200: #e6edf3;
  --gray-300: #d6e2eb;
  --shadow-card: 0 4px 16px 0 rgba(39,51,71,0.13);
  --radius-card: 22px;
  --radius-btn: 26px;
  --transition: all 0.25s cubic-bezier(.32,.72,.55,1);
  --font-display: 'Orbitron',Arial,sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- GLOBAL TYPOGRAPHY --- */
body {
  font-family: var(--font-body, 'Roboto', Arial, sans-serif);
  background: var(--pastel-mint, #d8f6ed);
  color: var(--primary);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display, 'Orbitron',Arial,sans-serif);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.2rem; }
p, ul, li, span, a {
  font-size: 1.1rem;
}
strong, b { font-weight: 600; }

/* --- LINKS --- */
a {
  color: var(--secondary);
  transition: var(--transition);
}
a:hover, .blog-link:hover {
  color: #1d8ac7;
  text-decoration: underline;
}

/* --- CONTAINERS & MAIN LAYOUT --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  background: var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
  padding: 36px 25px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 1;
}
/* SPACING RULES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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;
  background: var(--pastel-yellow);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px 0 rgba(39,51,71,0.08);
  transition: box-shadow .25s;
}
.testimonial-card p {
  color: #253455;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 8px 20px 0 rgba(39,51,71,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: linear-gradient(90deg, var(--pastel-blue), var(--pastel-pink));
  box-shadow: 0 4px 24px 0 rgba(39,51,71,0.09);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header img[alt="Whirl Move"]{
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1.08rem;
  padding: 8px 12px;
  border-radius: 16px;
  transition: background .18s;
}
.main-nav a:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cta-btn.primary {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 13px 36px;
  font-family: var(--font-display, 'Orbitron',Arial,sans-serif);
  font-size: 1.13rem;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(0,174,239,0.09);
  margin-left: 18px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: #1d8ac7;
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 16px;
  border-radius: 9px;
  margin-left: 16px;
  cursor: pointer;
  z-index: 105;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover { background: #1d8ac7; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(247,247,253, 0.98);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.44,.15,.57,.89);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 30px;
  box-shadow: -2px 0 16px 0 rgba(39,51,71,0.07);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--secondary);
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  z-index: 2001;
  transition: color .2s;
}
.mobile-menu-close:hover {
  color: #1d8ac7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  font-size: 1.22rem;
  color: var(--primary);
  padding: 13px 6px;
  border-radius: 10px;
  transition: background .17s;
}
.mobile-nav a:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/* --- MAIN LAYOUT: ARTICLE, BLOG, etc --- */
article {
  background: var(--pastel-purple);
  border-radius: 18px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(39,51,71,0.06);
}
.blog-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 16px;
  padding: 6px 14px;
  background: var(--pastel-blue);
  transition: var(--transition);
}

/* --- ICONS IN LISTS --- */
ul li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
  height: 28px;
  width: 28px;
  border-radius: 8px;
  background: var(--pastel-pink);
  box-shadow: 0 1px 3px 0 rgba(39,51,71,0.06);
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, var(--pastel-pink), var(--pastel-blue));
  padding: 38px 0 12px 0;
  box-shadow: 0 -4px 18px 0 rgba(39,51,71,0.05);
  border-top: 1px solid var(--gray-300);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-nav,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a,
.footer-links a {
  color: var(--primary);
  font-size: 1.04rem;
  margin-bottom: 1px;
  border-radius: 10px;
  transition: background 0.16s;
  padding: 6px 6px;
}
.footer-nav a:hover,
.footer-links a:hover {
  color: var(--secondary);
  background: var(--pastel-blue);
}
.footer-contact p {
  color: var(--primary);
  font-size: 1rem;
  margin: 3px 0;
  word-break: break-word;
}
.footer-contact strong { font-weight: 700; }
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 4px 0 rgba(0, 174, 239, 0.09);
  transition: box-shadow .18s;
}
.footer-social a:hover img {
  box-shadow: 0 2px 13px 0 rgba(0,174,239,0.1);
}

/* --- BUTTONS --- */
button,
.cta-btn {
  font-family: var(--font-display, 'Orbitron',Arial,sans-serif);
  background: var(--pastel-blue);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-btn);
  padding: 11px 30px;
  font-size: 1.04rem;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 rgba(39,51,71,0.08);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  letter-spacing: 0.03em;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* --- SPECIAL BUTTON STATES & COLORS --- */
.cta-btn.secondary {
  background: var(--pastel-pink);
  color: var(--secondary);
}
.cta-btn.secondary:hover {
  background: var(--pastel-blue);
  color: var(--primary);
}

/* --- COOKIE CONSENT BANNER ---*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: var(--pastel-blue);
  color: var(--primary);
  padding: 22px 17px;
  box-shadow: 0 -2px 16px 0 rgba(39,51,71,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.02rem;
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition);
  border-radius: 18px 18px 0 0;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  font-family: var(--font-display, 'Orbitron',Arial,sans-serif);
  min-width: 120px;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  border: none;
  font-size: 1.04rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-accept { background: var(--secondary); color: #fff; }
.cookie-accept:hover { background: #1d8ac7; }
.cookie-reject { background: #ffdced; color: #c32166; }
.cookie-reject:hover { background: #fbb2d0;  }
.cookie-settings { background: var(--pastel-mint); color: var(--primary); }
.cookie-settings:hover { background: var(--pastel-blue); }

/* COOKIE MODAL ---*/
.cookie-modal {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 3500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  padding: 0 20px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--accent);
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(39,51,71,0.18);
  padding: 38px 24px;
  max-width: 370px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadein .4s cubic-bezier(.1,.66,.66,1);
}
@keyframes fadein {
  from { opacity: 0; transform: scale(0.98) translateY(20px); }
  to { opacity: 1; transform: none; }
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 13px;
  font-size: 1.7rem;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover { color: #1d8ac7; }

.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-category label {
  color: var(--primary);
  font-size: 1rem;
}
.cookie-switch {
  width: 40px;
  height: 24px;
  border-radius: 12px;
  background: var(--gray-300);
  position: relative;
  transition: background .18s;
  flex-shrink: 0;
}
.cookie-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  cursor: pointer;
}
.cookie-switch .toggle {
  display: block;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left .18s;
}
.cookie-switch input:checked + .toggle {
  left: 18px;
  background: var(--primary);
}
.cookie-category .desc {
  font-size: 0.98rem;
  color: #444;
  margin-left: 8px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1140px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .footer-nav,
  .footer-links, .footer-contact, .footer-social {
    font-size: .98rem;
  }
  footer .container {
    gap:18px;
  }
}
@media (max-width: 768px) {
  /* Burger appears */
  .main-nav, .cta-btn.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .container, .content-wrapper, .card {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 38px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    padding: 13px 11px;
  }
  
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .cookie-modal-content {
    padding: 22px 9px;
    max-width: 98vw;
  }
  header img[alt="Whirl Move"]{
    height: 33px;
  }
}

/* --- TRANSITIONS AND MICRO-INTERACTIONS --- */
.card,
.content-wrapper,
.testimonial-card,
.cookie-modal-content {
  transition: box-shadow 0.21s cubic-bezier(.52,.39,.3,1), background 0.22s;
}
.card:hover,
.content-wrapper:hover {
  box-shadow: 0 6px 32px 0 rgba(39,51,71,0.17);
}
button, .cta-btn, .cookie-btn, .mobile-menu-toggle {
  transition: background .21s, color .21s, box-shadow .2s, transform .17s;
}

/* --- UTILITY & ACCESSIBILITY --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- MISCELLANEOUS --- */
::-webkit-scrollbar {
  width: 8px; background: var(--gray-200);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-blue);
  border-radius: 8px;
}

/* --- END OF STYLE.CSS --- */
