:root{
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --card: rgba(0,0,0,.42);
  --stroke: rgba(255,255,255,.12);
  --shadow: rgba(0,0,0,.55);
  --radius: 22px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

/* Fixed background */
.bg{
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url("./assets/hex-background-networking.jpg") center / cover no-repeat fixed;
  transform: translateZ(0);
  filter: brightness(.72) contrast(1.05);
}
.bg-glow{
  position: fixed;
  inset: -20%;
  z-index: -2;
  background: radial-gradient(circle at 20% 10%, rgba(255,0,70,.22), transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(0,180,255,.18), transparent 40%),
              radial-gradient(circle at 50% 90%, rgba(255,255,255,.10), transparent 55%);
  pointer-events: none;
}
.noise{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* Layout */
.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.header{
  padding: 70px 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.35);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px var(--shadow);
}

.h1{
  margin: 18px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.subtitle{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  margin: 4px 0 14px;
}

.lead{
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
}

.lead--small{
  margin-top: 12px;
  opacity: .85;
}

.link{ color: rgba(255,255,255,.92); text-decoration: underline; }

/* CTA */
.cta-text{
  margin: 18px 0 22px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  text-shadow: 0 0 16px rgba(255,0,70,.18);
}

.cta-row{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Social icons */
.cta-social-icons{
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}

.social-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: transform .2s ease;
}

.social-icon img{
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.social-icon:hover{
  transform: translateY(-2px) scale(1.05);
}

.social-icon.ig img{
  filter:
    drop-shadow(0 0 8px rgba(193,53,132,.6))
    drop-shadow(0 0 12px rgba(253,29,29,.5))
    drop-shadow(0 0 16px rgba(252,175,69,.4));
}

.social-icon.ig:hover img{
  filter:
    drop-shadow(0 0 10px rgba(193,53,132,.75))
    drop-shadow(0 0 14px rgba(253,29,29,.65))
    drop-shadow(0 0 20px rgba(252,175,69,.55));
}

.social-icon.tg img{
  filter: drop-shadow(0 0 14px rgba(0,170,255,.75));
}

.social-icon.tg:hover img{
  filter: drop-shadow(0 0 18px rgba(0,170,255,.9));
}

/* Card */
.card{
  margin: 18px 0;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px var(--shadow);
}

.h2{
  margin: 0 0 10px;
  font-size: 22px;
}

.list{
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--text);
  line-height: 1.75;
}

/* Marquee */
.marquee-red{
  width: 100%;
  overflow: hidden;
  background: rgba(255, 0, 40, .14);
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  padding: 6px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.marquee-red__inner{
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
  animation: marqueePro 20s linear infinite;
}

@keyframes marqueePro{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-33.333%,0,0); }
}

.marquee-red__track{
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  gap: 8px;
  padding-right: 8px;
}

.marquee-red__track span{
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,.92);
}

.marquee-red__track .dot{
  opacity: .85;
  margin: 0 6px;
}

/* Mascot */
.mascot-top{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  margin: 16px 0 8px;
  opacity: .95;
  filter: drop-shadow(0 20px 45px rgba(0,0,0,.6));
  animation: topFloat 6.5s ease-in-out infinite;
}

.mascot-top img{
  display: block;
  width: min(360px, 42vw);
  max-width: 420px;
  height: auto;
}

@keyframes topFloat{
  0%   { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(8px); }
  100% { transform: translateX(-50%) translateY(0); }
}

/* Icons */
.emoji-icon{
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

.check-icon{
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}

.subtitle-emoji{
  width: 26px !important;
  height: 26px !important;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}

/* ====== NEW: Portfolio / Works ====== */
.work-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 740px){
  .work-grid{ grid-template-columns: 1fr; }
}

.work{
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.26);
}

.work--ghost{ opacity: .85; }

.work-top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.work-title{
  font-weight: 800;
  letter-spacing: .2px;
}

.work-tag{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.work-desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.work-actions{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.35);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease;
}
.btn-link:hover{ transform: translateY(-2px); }

/* ====== NEW: Case steps ====== */
.steps{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 740px){
  .steps{ grid-template-columns: 1fr; }
}

.step{
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.22);
}

.step-title{
  font-weight: 800;
  margin-bottom: 6px;
}

.step-text{
  color: var(--muted);
  line-height: 1.6;
}

/* ====== NEW: Process list ====== */
.process{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.process li{ margin: 6px 0; }
.process b{ color: var(--text); }

/* ====== NEW: FAQ ====== */
.faq{ margin-top: 10px; }

.faq-item{
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(0,0,0,.22);
  padding: 10px 12px;
  margin: 10px 0;
}

.faq-item summary{
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker{ display:none; }

.faq-body{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

/* Contact */
.contact-email{
  margin: 40px 0 0;
  padding-bottom: 70px;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
  text-align: center;
  gap: 10px;
}

@supports (padding: env(safe-area-inset-bottom)){
  .contact-email{
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

.contact-emoji{
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto;
}

.contact-mail{
  display: inline;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 700;
}

.contact-mail:hover{
  text-shadow: 0 0 10px rgba(255,255,255,.35);
}

/* Mobile */
@media (max-width: 520px){
  .header{ padding-top: 40px; }

  .mascot-top{
    margin: 8px 0 4px;
    opacity: .8;
  }

  .mascot-top img{
    width: min(260px, 70vw);
  }

  .h1{ margin-top: 8px; }
  .lead{ margin-top: 6px; }

  .subtitle-emoji{
    width: 20px !important;
    height: 20px !important;
  }

  .cta-social-icons{
    gap: 32px;
    margin-top: 18px;
  }

  .social-icon img{
    width: 60px;
    height: 60px;
  }

  .contact-email{
    margin-top: 32px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .marquee-red{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.work--offer{
  background: rgba(0,0,0,.22);
  border-style: dashed;
}

.btn-link--ghost{
  background: rgba(0,0,0,.18);
}

.card .h2{
  text-align: center;
}