/* RESET AND 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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #F7F7F7;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1D2239;
  background: #F7F7F7;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #3C96D0;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0070ac;
  outline: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
ul, ol {
  list-style-position: inside;
}

/* BRAND COLORS AND FONTS */
:root {
  --primary: #1D2239;
  --secondary: #3C96D0;
  --accent: #F7F7F7;
  --yellow: #FFC93E;
  --pink: #FF72B6;
  --green: #22E4AC;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* GENERAL CONTAINERS AND LAYOUTS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* FLEXBOX LAYOUTS (CRITICAL) */
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(60,150,208,0.06);
  padding: 20px 28px;
  font-size: 17px;
  margin-bottom: 10px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(33,33,43,0.08);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.12s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02) rotate(-1deg);
  box-shadow: 0 8px 36px 0 rgba(60,150,208,0.21);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.25rem;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 18px;
  font-weight: 800;
}
h2 {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 18px;
  font-weight: 700;
  /* playful underline effect */
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 44px;
  height: 6px;
  border-radius: 3px;
  background: var(--yellow);
  position: absolute;
  left: 0;
  bottom: -5px;
}
h3 {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.subheadline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--pink);
  margin-bottom: 26px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #2D3250;
  margin-bottom: 18px;
}
strong {
  color: var(--secondary);
  font-weight: 700;
}

/* HEADER & NAVIGATION */
header {
  background: #FFF;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(60,150,208,0.06);
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo-link {
  display: flex;
  align-items: center;
  z-index: 102;
}
nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 16px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--yellow);
  color: var(--primary);
}
nav a.cta {
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 16px 0 rgba(255, 114,182,0.17);
  transition: background 0.16s, color 0.2s, box-shadow 0.14s;
  letter-spacing: 0.015em;
}
nav a.cta:hover {
  background: var(--secondary);
  color: #fff;
}
.header .mobile-menu-toggle {
  display: none;
}
.button-hide-desktop {
  display: none !important;
}

/* HERO */
.hero {
  background: linear-gradient(90deg, #F7F7F7 60%, #FFF7E5 100%);
  border-radius: 0 0 42px 42px;
  box-shadow: 0 4px 32px 0 rgba(255,201,62,0.06);
  padding: 48px 0 36px 0;
  margin-bottom: 50px;
  min-height: 240px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero .cta {
  margin-top: 18px;
}

/* FEATURES & SERVICES */
.features, .review-features, .software-features, .consulting-features, .ai-features, .startup-features {
  margin-bottom: 56px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(60,150,208,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 24px 22px 24px;
  min-width: 220px;
  flex: 1 1 240px;
  max-width: calc(33% - 32px);
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 7px #22E4AC44);
}
.feature:hover {
  transform: rotate(-2deg) scale(1.033);
  box-shadow: 0 8px 36px 0 rgba(34,228,172,0.15);
  z-index: 2;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(60,150,208,0.12);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  gap: 14px;
  transition: box-shadow 0.12s, transform 0.11s;
}
.service-card h3 {
  color: var(--secondary);
}
.service-price {
  color: var(--green);
  font-size: 1.06rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 10px;
}
.service-card:hover {
  box-shadow: 0 10px 38px 0 #22E4AC22;
  transform: scale(1.025) rotate(1deg) translateY(-2px);
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(60,150,208,0.12);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 28px;
  max-width: 370px;
  color: #1D2239;
  font-size: 1.07rem;
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.14s, box-shadow 0.12s;
}
.testimonial-card:before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--pink);
  position: absolute;
  top: 12px;
  left: 18px;
  opacity: 0.13;
  z-index: 1;
}
.testimonial-card p {
  z-index: 3;
  position: relative;
  color: #1D2239;
}
.testimonial-info {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  z-index: 2;
}
.testimonial-card:hover {
  transform: scale(1.025) rotate(-0.5deg) translateY(-3px);
  box-shadow: 0 10px 40px 0 #FFC93E17;
}

/* CONTACT & INFO */
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
}
.contact-details, .contact-cta { flex: 1 1 240px; min-width: 220px; }
.contact-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.contact-info {
  flex: 1 1 240px;
  min-width: 230px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(60,150,208,0.08);
  padding: 26px 20px;
  margin-top: 12px;
}
.contact-info p {
  margin-bottom: 24px;
}

/* THANK YOU / LEGAL */
.thank-you, .legal, .about-mission, .about-features {
  margin-bottom: 60px;
}
.legal .content-wrapper, .thank-you .content-wrapper, .about-mission .content-wrapper {
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 2px 20px 0 rgba(60,150,208,0.08);
  padding: 35px 24px;
  gap: 26px;
}
.legal ul {
  margin: 12px 0 16px 18px;
  padding-left: 0;
}
.legal li {
  margin-bottom: 8px;
}

/* FOOTER */
footer {
  background: #3C96D0;
  color: #fff;
  border-radius: 40px 40px 0 0;
  padding: 32px 0 24px 0;
  box-shadow: 0 -4px 22px 0 rgba(60,150,208,0.11);
  font-family: var(--font-display);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px 0 #fff5;
}
.footer-tagline {
  font-size: 1.14rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.footer-nav {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav a {
  color: #fff;
  font-size: 1.06rem;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover {
  background: #FFC93E;
  color: var(--primary);
}

/* BUTTONS & CTA */
.cta {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 20px;
  padding: 12px 32px;
  margin: 0 12px 12px 0;
  box-shadow: 0 2px 13px 0 rgba(60,150,208,0.11);
  transition: background 0.16s, color 0.16s, transform 0.12s, box-shadow 0.14s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cta.primary {
  background: linear-gradient(90deg, #3C96D0 80%, #FFC93E 100%);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: var(--yellow);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
  box-shadow: 0 9px 32px 0 #FFC93E2a;
  outline: none;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--yellow);
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 12px;
  padding: 2px 16px 2px 14px;
  transition: background 0.17s, color 0.12s, box-shadow 0.13s;
  margin-left: 12px;
  z-index: 1100;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 2px 12px 0 #FF72B633;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 44px 0 rgba(60,150,208,0.13);
  transform: translateX(-100vw);
  transition: transform 0.40s cubic-bezier(.52,1.62,.37,.91);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 26px 26px 22px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--primary);
  background: var(--yellow);
  border-radius: 12px;
  padding: 6px 16px 5px 16px;
  align-self: flex-end;
  margin-bottom: 12px;
  border: none;
  box-shadow: 0 1px 8px 0 #FFC93E22;
  transition: background 0.17s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pink);
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: var(--primary);
  padding: 16px 0 10px 8px;
  font-family: var(--font-display);
  border-radius: 14px;
  background: none;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--yellow);
  color: var(--secondary);
  outline: none;
}
@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
  width: 100vw;
  box-shadow: 0 -5px 34px 0 #22E4AC24;
  padding: 20px 24px 18px 24px;
  border-radius: 32px 32px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 2100;
  gap: 24px;
  justify-content: space-between;
  animation: bannerIn 0.7s cubic-bezier(.46,.66,.43,1.09);
}
@keyframes bannerIn {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1.02rem;
  color: var(--primary);
  flex: 1 1 auto;
  margin-bottom: 0;
}
.cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 14px;
  font-family: var(--font-display);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.11s, box-shadow 0.13s;
  background: var(--yellow);
  color: var(--primary);
  margin: 0;
}
.cookie-btn.accept {
  background: var(--green);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--pink);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--yellow);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.12);
  outline: none;
  box-shadow: 0 2px 13px 0 #22E4AC22;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(29,34,57,0.18);
  z-index: 2200;
  align-items: center;
  justify-content: center;
  animation: modalIn 0.35s cubic-bezier(.49,1.14,.51,.99);
}
.cookie-modal.open {
  display: flex;
}
@keyframes modalIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 6px 42px 0 rgba(60,150,208,0.2);
  padding: 32px 34px 28px 34px;
  min-width: 330px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalContentIn 0.41s cubic-bezier(.54,1.2,.49,.92);
}
@keyframes modalContentIn {
  from { transform: translateY(84px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  font-family: var(--font-body);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #FFC93E;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.13s;
  margin-right: 7px;
}
.cookie-toggle:checked {
  background: #22E4AC;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 5px 0 #1d223955;
  transition: left 0.14s;
}
.cookie-toggle:checked::before {
  left: 22px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  color: var(--primary);
  font-size: 2rem;
  background: var(--yellow);
  border-radius: 10px;
  border: none;
  padding: 2px 10px 3px 10px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--pink);
  color: #fff;
}
/* Responsive overrides for cookie banner */
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-left: 9px;
    padding-right: 9px;
  }
  .cookie-btn-group {
    flex-wrap: wrap;
    gap: 10px;
  }
  .cookie-modal-content {
    min-width: 96vw;
    padding: 18px 7vw 20px 7vw;
  }
}

/* MICRO-INTERACTIONS & PLAYFUL EFFECTS */
.feature:after {
  content: '';
  display: block;
  width: 38px;
  height: 8px;
  border-radius: 6px;
  background: var(--pink);
  position: absolute;
  bottom: 18px;
  left: 22px;
  opacity: 0.14;
}
.cta:active {
  transform: scale(0.97) rotate(1deg);
}
.card:after {
  content: '';
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  right: 18px;
  bottom: 18px;
  background: var(--green);
  border-radius: 4px 50% 50% 0;
  opacity: 0.09;
  z-index: 0;
}

/* ANIMATION KEYFRAMES */
@keyframes playful-bounce {
  0%   { transform: translateY(0); }
  6%   { transform: translateY(-9px) rotate(-2deg); }
  20%  { transform: translateY(2px) rotate(1deg); }
  28%  { transform: translateY(-5px) rotate(-1deg); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}
.cta.primary:hover {
  animation: playful-bounce 0.31s linear 1;
}
.feature:hover {
  animation: playful-bounce 0.29s linear 1;
}

/* MEDIA QUERIES & RESPONSIVE LAYOUTS */
@media (max-width: 1250px) {
  .container { max-width: 98vw; }
}
@media (max-width: 980px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .service-card, .feature {
    max-width: 97vw;
    min-width: unset;
    width: 100%;
  }
}
@media (max-width: 860px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .footer-brand, .footer-nav { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-tagline { display: none; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.17rem; }
  h3 { font-size: 1.04rem; }
  .section, .hero, .feature-list, .thank-you, .legal, .about-mission, .about-features {
    padding: 24px 7px;
    margin-bottom: 32px;
  }
  .container { padding-left: 9px; padding-right: 9px; }
  .hero { border-radius: 0 0 23px 23px; }
  .feature, .card, .testimonial-card, .service-card, .contact-info, .legal .content-wrapper, .thank-you .content-wrapper, .about-mission .content-wrapper {
    padding: 20px 12px;
    min-width: unset;
    margin-bottom: 18px;
  }
  .contact .content-wrapper {
    flex-direction: column;
    gap: 28px;
  }
  .text-image-section { flex-direction: column; gap: 16px; }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .feature, .service-card, .testimonial-card, .card {
    padding: 13px 7px;
  }
  .footer-brand img { width: 34px; height: 34px; }
}

/* UTILITIES & ACCESSIBILITY */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--yellow);
  color: var(--primary);
  border-radius: 12px;
  padding: 8px 24px;
  z-index: 2222;
}
.skip-link:focus {
  left: 19px;
  top: 7px;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 1px 8px 0 #FFC93E55;
}

/* SELECTION HIGHLIGHT */
::selection {
  background: #FFC93E;
  color: #1D2239;
}

/* CUSTOM SCROLLBAR (playful) */
::-webkit-scrollbar {
  width: 8px;
  background: #F7F7F7;
}
::-webkit-scrollbar-thumb {
  background: #FFC93E;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF72B6;
}
