/* ===========================================================
   INITECH SOLUTIONS LLC — shared styles
   Kawaii / healing pink theme
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --cotton:    #FFF5F7;   /* page background          */
  --blush:     #FFE1EA;   /* soft card / section wash */
  --bubblegum: #FF8FB1;   /* primary accent           */
  --bubble-dk: #F26B96;   /* darker accent for hover  */
  --peach:     #FFB5A7;   /* warm secondary           */
  --mint:      #A8E6CF;   /* fresh accent             */
  --lavender:  #C9B6E4;   /* cool accent              */
  --cocoa:     #6B4E5B;   /* body text (warm)         */
  --cocoa-lt:  #957A85;   /* muted text               */
  --white:     #FFFFFF;

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow:    0 14px 40px -18px rgba(242, 107, 150, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(242, 107, 150, 0.4);

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cocoa);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,181,167,0.28), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(201,182,228,0.28), transparent 40%),
    radial-gradient(circle at 78% 92%, rgba(168,230,207,0.24), transparent 42%),
    var(--cotton);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--cocoa);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
}

a { color: var(--bubble-dk); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bubblegum); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- floating background doodles ---------- */
.doodles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.doodle { position: absolute; opacity: .55; animation: float 9s ease-in-out infinite; }
.doodle:nth-child(2) { animation-duration: 11s; animation-delay: -3s; }
.doodle:nth-child(3) { animation-duration: 13s; animation-delay: -6s; }
.doodle:nth-child(4) { animation-duration: 10s; animation-delay: -2s; }
.doodle:nth-child(5) { animation-duration: 12s; animation-delay: -5s; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-22px) rotate(8deg); }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,245,247,0.82);
  border-bottom: 2px solid rgba(255,143,177,0.18);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--cocoa); }
.brand .logo {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bubblegum), var(--peach));
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  flex: none;
}
.brand .logo svg { width: 24px; height: 24px; }
.brand small { display:block; font-family: var(--font-body); font-weight: 700; font-size: .62rem; letter-spacing: .14em; color: var(--cocoa-lt); text-transform: uppercase; }

.navlinks { display: flex; align-items: center; gap: 6px; }
.navlinks a {
  font-weight: 700; font-size: .95rem; color: var(--cocoa);
  padding: 9px 15px; border-radius: 999px; transition: background .2s, color .2s;
}
.navlinks a:hover { background: var(--blush); color: var(--bubble-dk); }
.navlinks a.active { background: var(--bubblegum); color: #fff; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--cocoa); }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--bubblegum), var(--bubble-dk));
  color: #fff; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); color:#fff; }
.btn.ghost {
  background: #fff; color: var(--bubble-dk);
  border: 2px solid var(--blush); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--bubblegum); background: var(--blush); }

/* ---------- generic layout blocks ---------- */
main { position: relative; z-index: 1; }
section { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bubble-dk);
  background: #fff; padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 18px; }
.section-head p { color: var(--cocoa-lt); font-size: 1.08rem; }

.card {
  background: #fff; border-radius: var(--radius-md);
  padding: 30px; box-shadow: var(--shadow-sm);
  border: 2px solid rgba(255,143,177,0.12);
}

.grid { display: grid; gap: 26px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- hero ---------- */
.hero { padding: 78px 0 64px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
.hero h1 .hl { color: var(--bubblegum); }
.hero p.lead { font-size: 1.2rem; color: var(--cocoa-lt); max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.blob {
  width: 100%; max-width: 420px; aspect-ratio: 1;
  background: linear-gradient(150deg, var(--blush), #fff);
  border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  animation: morph 12s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%; }
  50%     { border-radius: 58% 42% 37% 63% / 61% 55% 45% 39%; }
}
.blob svg { width: 62%; height: auto; }

/* ---------- feature / value cards ---------- */
.feature { text-align: center; }
.feature .ico {
  width: 66px; height: 66px; border-radius: 22px; margin: 0 auto 16px;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.feature .ico svg { width: 34px; height: 34px; }
.feature h3 { font-size: 1.28rem; }
.feature p { color: var(--cocoa-lt); font-size: .98rem; margin: 0; }
.ico.c1 { background: linear-gradient(135deg,#FFD9E4,#FF8FB1); }
.ico.c2 { background: linear-gradient(135deg,#CDEEDF,#A8E6CF); }
.ico.c3 { background: linear-gradient(135deg,#E4D6F5,#C9B6E4); }
.ico.c4 { background: linear-gradient(135deg,#FFE0D6,#FFB5A7); }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .art {
  border-radius: var(--radius-lg); min-height: 320px;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.split .art svg { width: 60%; }
.wash-pink { background: linear-gradient(150deg, var(--blush), #FFF0F4); }
.wash-mint { background: linear-gradient(150deg, #DFF6EC, #F0FBF6); }
.wash-lav  { background: linear-gradient(150deg, #EEE6F7, #F7F2FC); }

/* ---------- band (CTA strip) ---------- */
.band {
  background: linear-gradient(135deg, var(--bubblegum), var(--peach));
  border-radius: var(--radius-lg); padding: 54px 40px; text-align: center;
  color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.band p { color: rgba(255,255,255,.92); max-width: 34em; margin: 0 auto 26px; }
.band .btn { background: #fff; color: var(--bubble-dk); }
.band .btn:hover { background: var(--cotton); }

/* ---------- page header (inner pages) ---------- */
.page-head { text-align: center; padding: 64px 0 30px; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.page-head p { color: var(--cocoa-lt); max-width: 40em; margin: 10px auto 0; }

/* ---------- legal / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose .card { padding: 40px clamp(24px,5vw,56px); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; color: var(--bubble-dk); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--cocoa); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .highlight {
  background: var(--blush); border-left: 5px solid var(--bubblegum);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 22px 0;
}
.prose .highlight.mint { background: #E4F7EF; border-left-color: var(--mint); }
.prose .highlight.lav  { background: #EFE8F8; border-left-color: var(--lavender); }
.prose .meta { color: var(--cocoa-lt); font-size: .92rem; }

/* ---------- games grid ---------- */
.game-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.game-thumb { aspect-ratio: 16/10; display: grid; place-items: center; }
.game-thumb svg { width: 46%; }
.game-body { padding: 22px 24px 26px; }
.game-body h3 { font-size: 1.28rem; margin-bottom: 6px; }
.tag {
  display: inline-block; font-family: var(--font-display); font-weight: 500;
  font-size: .74rem; letter-spacing:.04em; padding: 4px 12px; border-radius: 999px;
  background: var(--blush); color: var(--bubble-dk); margin-bottom: 12px;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-row .ico { width: 48px; height: 48px; border-radius: 16px; flex: none; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.info-row .ico svg { width: 24px; height: 24px; }
.info-row h4 { margin: 0 0 2px; font-size: 1.05rem; }
.info-row p, .info-row a { margin: 0; color: var(--cocoa-lt); font-size: .96rem; word-break: break-word; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 3px solid #fff; margin-top: 8px; }
.map-embed iframe { display: block; width: 100%; height: 220px; border: 0; }

/* ---------- chat widget ---------- */
.chat {
  display: flex; flex-direction: column; height: 460px;
  background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 2px solid rgba(255,143,177,0.14); overflow: hidden;
}
.chat-head {
  background: linear-gradient(135deg, var(--bubblegum), var(--peach));
  color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.28); display:grid; place-items:center; flex:none; }
.chat-head .av svg { width: 22px; height: 22px; }
.chat-head h4 { color: #fff; margin: 0; font-size: 1.02rem; }
.chat-head .status { font-size: .78rem; opacity: .9; display:flex; align-items:center; gap:6px; }
.chat-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #BEF5D9; box-shadow: 0 0 0 3px rgba(190,245,217,.35); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--cotton); }
.bubble { max-width: 78%; padding: 11px 15px; border-radius: 18px; font-size: .94rem; line-height: 1.5; }
.bubble.bot { align-self: flex-start; background: #fff; border: 1.5px solid var(--blush); border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, var(--bubblegum), var(--bubble-dk)); color: #fff; border-bottom-right-radius: 5px; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 2px solid var(--blush); background: #fff; }
.chat-input input {
  flex: 1; border: 2px solid var(--blush); border-radius: 999px;
  padding: 11px 18px; font-family: var(--font-body); font-size: .95rem; color: var(--cocoa); outline: none;
}
.chat-input input:focus { border-color: var(--bubblegum); }
.chat-input button {
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer; flex: none;
  background: linear-gradient(135deg, var(--bubblegum), var(--bubble-dk)); color: #fff; display: grid; place-items: center;
  transition: transform .15s;
}
.chat-input button:hover { transform: scale(1.08); }
.chat-input button svg { width: 20px; height: 20px; }

/* ---------- team ---------- */
.member { text-align: center; }
.member .avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); font-family: var(--font-display);
  font-size: 2rem; color: #fff; font-weight: 600;
}
.member h4 { margin: 0; font-size: 1.12rem; }
.member .role { color: var(--bubble-dk); font-family: var(--font-display); font-size: .9rem; }
.member p { color: var(--cocoa-lt); font-size: .92rem; margin: 8px 0 0; }

/* ---------- stat ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; color: var(--bubblegum); }
.stat .lbl { color: var(--cocoa-lt); font-size: .92rem; }

/* ---------- footer ---------- */
.footer { background: #fff; border-top: 2px solid var(--blush); margin-top: 40px; position: relative; z-index: 1; }
.footer .wrap { padding: 48px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer h5 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 14px; color: var(--cocoa); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--cocoa-lt); font-size: .94rem; font-weight: 600; }
.footer a:hover { color: var(--bubblegum); }
.footer .about p { color: var(--cocoa-lt); font-size: .94rem; max-width: 30em; }
.footer .addr { font-size: .9rem; color: var(--cocoa-lt); font-style: normal; }
.copyright { text-align: center; padding: 22px; border-top: 2px solid var(--blush); color: var(--cocoa-lt); font-size: .86rem; }
.copyright .heart { color: var(--bubblegum); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .hero-cta { justify-content: center; }
  .hero-art { order: -1; }
  .grid.g3, .grid.g2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .art { order: -1; min-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .navlinks {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,245,247,.98); padding: 14px 20px 20px;
    border-bottom: 2px solid var(--blush);
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 12px 16px; }
  .menu-btn { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .doodle, .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--lavender); outline-offset: 2px; border-radius: 6px;
}
