/* ── iMenufy Claymorphism Design System ── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Syne:wght@700;800&display=swap');

:root {
  --blue: #4294E3;
  --purple: #8F12FD;
  --dark: #1a1040;
  --clay-bg: #eef4ff;
  --clay-light: #f0f6ff;
  --text: #1a1040;
  --text-muted: #6b7280;
  --grad: linear-gradient(135deg, #4294E3, #8F12FD);
  --grad-soft: linear-gradient(135deg, #d6e9ff, #e8d4ff);
  --shadow-clay: 0 8px 32px rgba(66,148,227,0.18), 0 2px 8px rgba(143,18,253,0.10), inset 0 1px 0 rgba(255,255,255,0.9);
  --shadow-card: 0 12px 40px rgba(66,148,227,0.15), 0 4px 12px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1);
  --radius: 24px;
  --radius-lg: 32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--clay-bg);
  color: var(--text);
  overflow-x: clip;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: ''; position: fixed; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(66,148,227,0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: ''; position: fixed; bottom: -200px; left: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,18,253,0.10) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0; z-index: 1000;
  padding: 16px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 8px;
  background: rgba(240,246,255,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.6);
}
.nav-brand {
  display: flex;
  font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none; flex-shrink: 0;
  grid-column: 1; align-items:center;
}
.nav-brand img{
	width:150px;
}
.nav-links { display: flex; align-items: center; justify-content: center; gap: 2px; list-style: none; grid-column: 2; }
.nav-links a {
  padding: 8px 14px; border-radius: 50px;
  color: var(--text); font-weight: 600; font-size: 0.88rem;
  text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: rgba(66,148,227,0.12); color: var(--blue); }
.btn-nav {
  background: var(--grad); color: #fff !important;
  padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: 0.88rem;
  text-decoration: none; box-shadow: 0 4px 16px rgba(66,148,227,0.3);
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
  justify-self: end; grid-column: 3;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(66,148,227,0.4); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; justify-self: end; grid-column: 3; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

.page-hero {
  background: var(--grad);
  padding: 72px 40px 80px;
  text-align: center; position: relative; z-index: 1; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.12) 0%, transparent 60%);
}
.page-hero h1 {
  font-family: 'Syne', sans-serif; font-size: clamp(2rem,4vw,3rem); font-weight: 800;
  color: white; margin-bottom: 14px; position: relative;
}
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; font-weight: 600; max-width: 600px; margin: 0 auto 28px; position: relative; }
.page-hero .btn-hero {
  background: white; color: var(--purple); padding: 14px 32px; border-radius: 50px;
  font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); transition: transform 0.2s;
}
.page-hero .btn-hero:hover { transform: translateY(-3px); }

.section { position: relative; z-index: 1; padding: 72px 40px; max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-soft); border-radius: 50px; padding: 6px 16px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 12px;
}
h2.section-title {
  font-family: 'Syne', sans-serif; font-size: clamp(1.7rem,3vw,2.5rem); font-weight: 800;
  color: var(--dark); line-height: 1.2; margin-bottom: 14px;
}
.section-sub { color: var(--text-muted); font-weight: 600; font-size: 1rem; max-width: 540px; margin-bottom: 44px; }

.clay-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1.5px solid rgba(255,255,255,0.9);
}

.btn-primary {
  background: var(--grad); color: #fff;
  padding: 14px 32px; border-radius: 50px; font-weight: 800; font-size: 0.95rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 28px rgba(66,148,227,0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(66,148,227,0.42); }
.btn-outline {
  background: white; color: var(--dark); padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  box-shadow: var(--shadow-clay); transition: transform 0.2s;
}
.btn-outline:hover { transform: translateY(-3px); }

footer {
  background: linear-gradient(160deg, #1a1040 0%, #110930 100%);
  color: white; padding: 64px 40px 32px; margin-top: 80px; position: relative; z-index: 1;
  overflow: hidden;
}
/* Footer blur orbs */
footer::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66,148,227,0.22) 0%, transparent 70%);
  top: -100px; right: -80px;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  animation: footerOrbDrift1 12s ease-in-out infinite;
}
footer::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,18,253,0.2) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  pointer-events: none;
  z-index: 0;
  filter: blur(55px);
  animation: footerOrbDrift2 15s ease-in-out infinite;
}
@keyframes footerOrbDrift1 {
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(-30px,20px) scale(1.1);}
}
@keyframes footerOrbDrift2 {
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(30px,-20px) scale(1.08);}
}
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: 1120px; margin: 0 auto 48px;
}
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; font-weight: 600; margin-top: 10px; max-width: 280px; line-height: 1.7; }
footer h4 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
footer a { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 600; text-decoration: none; padding: 4px 0; transition: color 0.2s; }
footer a:hover { color: white; }
.footer-bottom {
  max-width: 1120px; margin: 0 auto; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; font-weight: 600; }

.check-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 0.95rem; color: var(--text); margin-bottom: 10px; }
.check-row i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }

/* ── Cookie Banner ── */
#cookie {
  display: none; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: white; border-radius: 20px; padding: 20px 24px;
  box-shadow: 0 8px 48px rgba(26,16,64,0.14), 0 2px 12px rgba(0,0,0,0.06);
  border: 1.5px solid rgba(66,148,227,0.12);
  width: min(640px, calc(100% - 32px)); z-index: 9100;
  flex-direction: column; gap: 14px;
  animation: cookieBannerIn .4s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes cookieBannerIn {
  from { opacity:0; transform: translateX(-50%) translateY(20px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.cookie-top { display: flex; align-items: flex-start; gap: 14px; }
.cookie-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.cookie-text { flex: 1; }
.cookie-text strong { display: block; font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.cookie-text p { font-size: .83rem; color: var(--text-muted); font-weight: 600; line-height: 1.55; margin: 0; }
.cookie-text p a { color: var(--blue); text-decoration: none; }
.cookie-text p a:hover { text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn-cookie-manage { background: none; color: var(--blue); border: 1.5px solid rgba(66,148,227,.3); padding: 9px 18px; border-radius: 50px; font-weight: 700; cursor: pointer; font-family: 'Nunito', sans-serif; font-size: .85rem; transition: all .2s; }
.btn-cookie-manage:hover { background: rgba(66,148,227,.07); border-color: var(--blue); }
.btn-cookie-accept { background: var(--grad); color: white; border: none; padding: 9px 22px; border-radius: 50px; font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif; font-size: .85rem; box-shadow: 0 4px 16px rgba(66,148,227,.3); transition: transform .2s, box-shadow .2s; }
.btn-cookie-accept:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(66,148,227,.4); }

/* ── Cookie Modal ── */
#cookie-modal {
  display: none; position: fixed; inset: 0; z-index: 9200;
  align-items: center; justify-content: center; padding: 20px;
}
#cookie-modal.open { display: flex; }
.cookie-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,16,64,.45);
  backdrop-filter: blur(6px);
  animation: fadeIn .25s ease both;
}
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
.cookie-modal-box {
  position: relative; background: white; border-radius: 24px;
  width: min(520px, 100%); max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(26,16,64,.2);
  animation: modalIn .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes modalIn { from{opacity:0;transform:scale(.92);} to{opacity:1;transform:scale(1);} }
.cookie-modal-head {
  padding: 24px 24px 0;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid #f0f4ff; padding-bottom: 18px; margin-bottom: 0;
}
.cookie-modal-head-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.cookie-modal-head-txt strong { display: block; font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.cookie-modal-head-txt span { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.cookie-modal-close { margin-left: auto; background: #f3f4f6; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: .9rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: background .2s; flex-shrink: 0; }
.cookie-modal-close:hover { background: #e5e7eb; color: var(--dark); }
.cookie-modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.cookie-category {
  border: 1.5px solid #eef2ff; border-radius: 16px; padding: 16px 18px;
  transition: border-color .2s;
}
.cookie-category:has(.cookie-toggle:checked) { border-color: rgba(66,148,227,.35); background: rgba(66,148,227,.02); }
.cookie-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cookie-cat-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.cookie-cat-title { flex: 1; }
.cookie-cat-title strong { display: block; font-size: .9rem; font-weight: 800; color: var(--dark); }
.cookie-cat-title span { font-size: .75rem; color: var(--text-muted); font-weight: 600; }
.cookie-cat-desc { font-size: .82rem; color: var(--text-muted); font-weight: 600; line-height: 1.55; padding-left: 48px; }
/* Toggle switch */
.cookie-toggle-wrap { flex-shrink: 0; }
.cookie-toggle { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-label {
  display: block; width: 44px; height: 24px; border-radius: 12px;
  background: #e5e7eb; cursor: pointer; position: relative;
  transition: background .25s;
}
.cookie-toggle-label::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .25s;
}
.cookie-toggle:checked + .cookie-toggle-label { background: var(--blue); }
.cookie-toggle:checked + .cookie-toggle-label::after { transform: translateX(20px); }
.cookie-toggle:disabled + .cookie-toggle-label { opacity: .55; cursor: not-allowed; }
.cookie-modal-foot {
  padding: 16px 24px 24px;
  display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
  border-top: 1px solid #f0f4ff;
}
.btn-save-prefs { background: var(--grad); color: white; border: none; padding: 11px 28px; border-radius: 50px; font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif; font-size: .88rem; box-shadow: 0 4px 16px rgba(66,148,227,.3); transition: transform .2s; }
.btn-save-prefs:hover { transform: translateY(-1px); }
.btn-accept-all-modal { background: none; color: var(--blue); border: 1.5px solid rgba(66,148,227,.3); padding: 11px 22px; border-radius: 50px; font-weight: 700; cursor: pointer; font-family: 'Nunito', sans-serif; font-size: .88rem; transition: all .2s; }
.btn-accept-all-modal:hover { background: rgba(66,148,227,.07); }
@media (max-width: 480px) {
  #cookie { padding: 16px 16px; }
  .cookie-btns { justify-content: stretch; }
  .cookie-btns button { flex: 1; text-align: center; }
  .cookie-cat-desc { padding-left: 0; }
}

@media (max-width: 900px) {
  nav { padding: 14px 20px; display: flex; }
  .nav-brand { grid-column: unset; }
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: block; grid-column: unset; justify-self: unset; margin-left: auto; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: rgba(240,246,255,0.98); backdrop-filter: blur(20px); padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.6); gap: 4px; z-index: 999; }
  .nav-links.open li { width: 100%; }
  .nav-links.open li a { display: block; width: 100%; text-align: left; padding: 10px 14px; border-radius: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 52px 16px; }
  .page-hero { padding: 52px 16px 60px; }
  footer { padding: 48px 16px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
/* Global overflow safety */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100vw; }
img, svg, video { max-width: 100%; }