/* ===================================
   BENTO GRID LAYOUT - iOS Style Refinado
   =================================== */

.bento-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(min-content, auto);
  gap: 16px;
  padding: calc(env(safe-area-inset-top) + 80px) 20px
    calc(env(safe-area-inset-bottom) + 90px);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  align-items: stretch;
}

/* Base para todos os items */
.bento-item {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.2) blur(20px);
  backdrop-filter: saturate(1.2) blur(20px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 1;
  will-change: transform;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 47, 179, 0.03),
    rgba(122, 44, 255, 0.03)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 47, 179, 0.4);
  box-shadow:
    0 12px 48px rgba(255, 47, 179, 0.2),
    0 0 0 1px rgba(255, 47, 179, 0.1);
  z-index: 10;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item:active {
  transform: translateY(-2px) scale(1.005);
  transition: transform 0.15s ease;
}

/* Hero Card - Grande e destacado */
.bento-hero {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 400px;
  height: auto;
  padding: 0;
  background: linear-gradient(
    135deg,
    rgba(122, 44, 255, 0.12),
    rgba(255, 47, 179, 0.12)
  );
  border: 0.2px solid #ff2fb3;
  position: relative;
  overflow: visible;
  box-shadow:
    0 10px 45px rgba(255, 47, 179, 0.18),
    0 0 0 0.8px rgba(255, 47, 179, 0.08),
    0 0 55px rgba(255, 47, 179, 0.35),
    0 0 110px rgba(255, 47, 179, 0.18),
    0 0 170px rgba(255, 47, 179, 0.08),
    inset 0 0 18px rgba(255, 47, 179, 0.08);
}

.bento-hero > * {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bento-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 47, 179, 0.85),
    rgba(255, 47, 179, 0.5) 35%,
    rgba(255, 47, 179, 0.25) 55%,
    transparent 75%
  );
  filter: blur(65px);
  pointer-events: none;
  z-index: -1;
  transform: rotate(0deg);
}

.bento-hero:hover {
  box-shadow:
    0 14px 52px rgba(255, 47, 179, 0.25),
    0 0 0 1px rgba(255, 47, 179, 0.15),
    0 0 75px rgba(255, 47, 179, 0.45),
    0 0 130px rgba(255, 47, 179, 0.25),
    0 0 190px rgba(255, 47, 179, 0.12),
    inset 0 0 22px rgba(255, 47, 179, 0.12);
}

.bento-hero .hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bento-hero .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.bento-hero .particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bento-hero .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 400px;
  height: 100%;
  padding: 20px 24px 40px;
}

.bento-hero .hero-text-simple {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 47, 179, 0.2);
  letter-spacing: 0.02em;
  margin-top: 20px;
}

.bento-hero .hero-text-simple p {
  margin: 8px 0;
  font-size: 26px;
  line-height: 32px;
  vertical-align: top;
  padding-top: 21px;
  padding-bottom: 21px;
  height: 224px;
}

/* FlowOFF Card - Médio */
.bento-flowoff {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 360px;
  height: auto;
  background: linear-gradient(
    135deg,
    rgba(255, 47, 179, 0.1),
    rgba(0, 208, 255, 0.1)
  );
  border: 0.3px solid #ff2fb3;
  position: relative;
  overflow: visible;
  box-shadow:
    0 11px 46px rgba(255, 47, 179, 0.19),
    0 0 0 0.9px rgba(255, 47, 179, 0.09),
    0 0 58px rgba(255, 47, 179, 0.38),
    0 0 115px rgba(255, 47, 179, 0.19),
    0 0 175px rgba(255, 47, 179, 0.09),
    inset 0 0 19px rgba(255, 47, 179, 0.09);
}

.bento-flowoff > * {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bento-flowoff::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 75%;
  height: 75%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 47, 179, 0.9),
    rgba(255, 47, 179, 0.55) 32%,
    rgba(255, 47, 179, 0.28) 52%,
    transparent 72%
  );
  filter: blur(68px);
  pointer-events: none;
  z-index: -1;
  transform: rotate(0deg);
}

.bento-flowoff:hover {
  box-shadow:
    0 15px 54px rgba(255, 47, 179, 0.28),
    0 0 0 1.1px rgba(255, 47, 179, 0.18),
    0 0 78px rgba(255, 47, 179, 0.48),
    0 0 135px rgba(255, 47, 179, 0.28),
    0 0 195px rgba(255, 47, 179, 0.14),
    inset 0 0 24px rgba(255, 47, 179, 0.14);
}

.bento-flowoff .flowoff-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.bento-flowoff .flowoff-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.bento-flowoff .flowoff-title h2 {
  font-size: 1.4rem;
  margin: 0 0 6px 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

.bento-flowoff .flowoff-subtitle {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.bento-flowoff .flowoff-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-flowoff .flowoff-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}

.bento-flowoff .flowoff-cta {
  margin-top: auto;
  padding-top: 16px;
}

.bento-flowoff .flowoff-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  position: relative;
  overflow: hidden;
}

.bento-flowoff .mello-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 47, 179, 0.3);
  transition: all 0.3s ease;
}

.bento-flowoff .flowoff-btn:hover .mello-photo {
  border-color: rgba(255, 47, 179, 0.6);
  transform: scale(1.1);
}

/* WebApp Card */
.bento-webapp {
  grid-column: span 3;
  min-height: 280px;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(122, 44, 255, 0.1),
    rgba(255, 47, 179, 0.08)
  );
  border: 0.25px solid #ff2fb3;
  position: relative;
  overflow: visible;
  box-shadow:
    0 12px 48px rgba(255, 47, 179, 0.2),
    0 0 0 1px rgba(255, 47, 179, 0.1),
    0 0 60px rgba(255, 47, 179, 0.4),
    0 0 120px rgba(255, 47, 179, 0.2),
    0 0 180px rgba(255, 47, 179, 0.1),
    inset 0 0 20px rgba(255, 47, 179, 0.1);
}

.bento-webapp > * {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bento-webapp::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -35%;
  width: 90%;
  height: 90%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 47, 179, 1),
    rgba(255, 47, 179, 0.6) 30%,
    rgba(255, 47, 179, 0.3) 50%,
    transparent 70%
  );
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
  transform: rotate(0deg);
}

.bento-webapp::after {
  content: '⚡';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-webapp:hover {
  box-shadow:
    0 16px 56px rgba(255, 47, 179, 0.3),
    0 0 0 1px rgba(255, 47, 179, 0.2),
    0 0 80px rgba(255, 47, 179, 0.5),
    0 0 140px rgba(255, 47, 179, 0.3),
    0 0 200px rgba(255, 47, 179, 0.15),
    inset 0 0 25px rgba(255, 47, 179, 0.15);
}

.bento-webapp:hover::after {
  opacity: 0.6;
}

/* Dashboard Card */
.bento-dashboard {
  grid-column: span 3;
  min-height: 280px;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.1),
    rgba(122, 44, 255, 0.08)
  );
  border: 0.25px solid #ff2fb3;
  position: relative;
  overflow: visible;
  box-shadow:
    0 12px 48px rgba(255, 47, 179, 0.2),
    0 0 0 1px rgba(255, 47, 179, 0.1),
    0 0 60px rgba(255, 47, 179, 0.4),
    0 0 120px rgba(255, 47, 179, 0.2),
    0 0 180px rgba(255, 47, 179, 0.1),
    inset 0 0 20px rgba(255, 47, 179, 0.1);
}

.bento-dashboard > * {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bento-dashboard::before {
  content: '';
  position: absolute;
  bottom: -55%;
  right: -30%;
  width: 85%;
  height: 85%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 47, 179, 1),
    rgba(255, 47, 179, 0.6) 30%,
    rgba(255, 47, 179, 0.3) 50%,
    transparent 70%
  );
  filter: blur(75px);
  pointer-events: none;
  z-index: -1;
  transform: rotate(0deg);
}

.bento-dashboard::after {
  content: '📊';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-dashboard:hover {
  box-shadow:
    0 16px 56px rgba(255, 47, 179, 0.3),
    0 0 0 1px rgba(255, 47, 179, 0.2),
    0 0 80px rgba(255, 47, 179, 0.5),
    0 0 140px rgba(255, 47, 179, 0.3),
    0 0 200px rgba(255, 47, 179, 0.15),
    inset 0 0 25px rgba(255, 47, 179, 0.15);
}

.bento-dashboard:hover::after {
  opacity: 0.6;
}

/* Projetos Ecossistema */
.bento-projects {
  grid-column: span 6;
  min-height: 200px;
  height: auto;
  background: linear-gradient(
    135deg,
    rgba(255, 47, 179, 0.08),
    rgba(122, 44, 255, 0.08)
  );
  border: 0.22px solid #ff2fb3;
  position: relative;
  overflow: visible;
  box-shadow:
    0 9px 42px rgba(255, 47, 179, 0.17),
    0 0 0 0.7px rgba(255, 47, 179, 0.07),
    0 0 52px rgba(255, 47, 179, 0.33),
    0 0 105px rgba(255, 47, 179, 0.17),
    0 0 165px rgba(255, 47, 179, 0.08),
    inset 0 0 17px rgba(255, 47, 179, 0.08);
}

.bento-projects > * {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bento-projects::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -25%;
  width: 65%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 47, 179, 0.8),
    rgba(255, 47, 179, 0.45) 38%,
    rgba(255, 47, 179, 0.22) 58%,
    transparent 78%
  );
  filter: blur(72px);
  pointer-events: none;
  z-index: -1;
  transform: rotate(0deg);
}

.bento-projects:hover {
  box-shadow:
    0 13px 50px rgba(255, 47, 179, 0.26),
    0 0 0 1px rgba(255, 47, 179, 0.16),
    0 0 72px rgba(255, 47, 179, 0.43),
    0 0 125px rgba(255, 47, 179, 0.26),
    0 0 185px rgba(255, 47, 179, 0.13),
    inset 0 0 21px rgba(255, 47, 179, 0.13);
}

.bento-projects .projects-logos-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px 0;
  text-align: center;
}

.bento-projects .projects-logos-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
  align-items: center;
  justify-items: center;
}

.bento-projects .project-logo {
  width: 100%;
  max-width: 80px;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.3s ease;
}

.bento-projects .project-logo:hover {
  filter: brightness(1.2) contrast(1.2);
  transform: scale(1.1);
}

/* NEO Card */
.bento-neo {
  grid-column: span 3;
  min-height: 260px;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 47, 179, 0.1),
    rgba(0, 208, 255, 0.08)
  );
  border: 0.28px solid #ff2fb3;
  position: relative;
  overflow: visible;
  box-shadow:
    0 10px 44px rgba(255, 47, 179, 0.2),
    0 0 0 0.85px rgba(255, 47, 179, 0.1),
    0 0 56px rgba(255, 47, 179, 0.36),
    0 0 112px rgba(255, 47, 179, 0.18),
    0 0 172px rgba(255, 47, 179, 0.09),
    inset 0 0 18px rgba(255, 47, 179, 0.09);
}

.bento-neo > * {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bento-neo::before {
  content: '';
  position: absolute;
  top: -45%;
  right: -28%;
  width: 72%;
  height: 72%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 47, 179, 0.88),
    rgba(255, 47, 179, 0.52) 33%,
    rgba(255, 47, 179, 0.26) 53%,
    transparent 73%
  );
  filter: blur(66px);
  pointer-events: none;
  z-index: -1;
  transform: rotate(0deg);
}

.bento-neo::after {
  content: '🚀';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-neo:hover {
  box-shadow:
    0 14px 52px rgba(255, 47, 179, 0.29),
    0 0 0 1.05px rgba(255, 47, 179, 0.19),
    0 0 76px rgba(255, 47, 179, 0.46),
    0 0 132px rgba(255, 47, 179, 0.29),
    0 0 192px rgba(255, 47, 179, 0.15),
    inset 0 0 23px rgba(255, 47, 179, 0.15);
}

.bento-neo:hover::after {
  opacity: 0.6;
}

/* Contato Card */
.bento-contact {
  grid-column: span 3;
  min-height: 260px;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(122, 44, 255, 0.1),
    rgba(255, 47, 179, 0.1)
  );
  border: 0.26px solid #ff2fb3;
  position: relative;
  overflow: visible;
  box-shadow:
    0 11px 45px rgba(255, 47, 179, 0.21),
    0 0 0 0.88px rgba(255, 47, 179, 0.11),
    0 0 57px rgba(255, 47, 179, 0.37),
    0 0 113px rgba(255, 47, 179, 0.19),
    0 0 173px rgba(255, 47, 179, 0.1),
    inset 0 0 19px rgba(255, 47, 179, 0.1);
}

.bento-contact > * {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bento-contact::before {
  content: '';
  position: absolute;
  bottom: -48%;
  left: 15%;
  width: 68%;
  height: 68%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 47, 179, 0.87),
    rgba(255, 47, 179, 0.51) 34%,
    rgba(255, 47, 179, 0.25) 54%,
    transparent 74%
  );
  filter: blur(69px);
  pointer-events: none;
  z-index: -1;
  transform: rotate(0deg);
}

.bento-contact::after {
  content: '💬';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-contact:hover {
  box-shadow:
    0 15px 53px rgba(255, 47, 179, 0.3),
    0 0 0 1.08px rgba(255, 47, 179, 0.2),
    0 0 77px rgba(255, 47, 179, 0.47),
    0 0 133px rgba(255, 47, 179, 0.3),
    0 0 193px rgba(255, 47, 179, 0.16),
    inset 0 0 24px rgba(255, 47, 179, 0.16);
}

.bento-contact:hover::after {
  opacity: 0.6;
}

/* NEOFLW Card - Interativo e Expandível */
.bento-neoflw {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 300px;
  height: auto;
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.1),
    rgba(122, 44, 255, 0.1)
  );
  border: 0.24px solid #ff2fb3;
  cursor: default;
  overflow: visible;
  box-shadow:
    0 9px 43px rgba(255, 47, 179, 0.16),
    0 0 0 0.75px rgba(255, 47, 179, 0.06),
    0 0 54px rgba(255, 47, 179, 0.32),
    0 0 108px rgba(255, 47, 179, 0.16),
    0 0 168px rgba(255, 47, 179, 0.08),
    inset 0 0 16px rgba(255, 47, 179, 0.08);
}

.bento-neoflw > * {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bento-neoflw::before {
  content: '';
  position: absolute;
  top: 25%;
  left: -22%;
  width: 70%;
  height: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 47, 179, 0.82),
    rgba(255, 47, 179, 0.48) 36%,
    rgba(255, 47, 179, 0.24) 56%,
    transparent 76%
  );
  filter: blur(71px);
  pointer-events: none;
  z-index: -1;
  transform: rotate(0deg);
}

.bento-neoflw:hover {
  border-color: rgba(255, 47, 179, 0.4);
  box-shadow:
    0 13px 51px rgba(255, 47, 179, 0.27),
    0 0 0 1.02px rgba(255, 47, 179, 0.17),
    0 0 74px rgba(255, 47, 179, 0.44),
    0 0 128px rgba(255, 47, 179, 0.27),
    0 0 188px rgba(255, 47, 179, 0.14),
    inset 0 0 22px rgba(255, 47, 179, 0.14);
}

.neoflw-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  cursor: pointer;
}

.neoflw-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.2),
    rgba(122, 44, 255, 0.2)
  );
  border-radius: 12px;
  color: #00d0ff;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.bento-neoflw:hover .neoflw-icon {
  transform: rotate(0deg);
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.3),
    rgba(122, 44, 255, 0.3)
  );
}

.neoflw-title-section {
  flex: 1;
}

.neoflw-title-section h3 {
  margin: 0 0 4px 0;
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 700;
  background: linear-gradient(90deg, #00d0ff, #7a2cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neoflw-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.neoflw-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.neoflw-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 208, 255, 0.4);
  transform: scale(1.1);
}

.neoflw-toggle svg {
  transition: transform 0.3s ease;
}

.bento-neoflw.expanded .neoflw-toggle svg {
  transform: rotate(180deg);
}

.neoflw-content-collapsed {
  opacity: 1;
  max-height: 200px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento-neoflw.expanded .neoflw-content-collapsed {
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
}

.neoflw-teaser {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 600;
  font-style: italic;
  margin: 0;
  padding: 16px;
  background: rgba(0, 208, 255, 0.05);
  border-radius: 12px;
  border-left: 3px solid #00d0ff;
}

.neoflw-content-expanded {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento-neoflw.expanded {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: none;
  height: auto;
  z-index: 5;
  grid-row: span 4;
  scroll-behavior: smooth;
}

.bento-neoflw.expanded::-webkit-scrollbar {
  width: 8px;
}

.bento-neoflw.expanded::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.bento-neoflw.expanded::-webkit-scrollbar-thumb {
  background: rgba(0, 208, 255, 0.3);
  border-radius: 4px;
  transition: background 0.3s ease;
}

.bento-neoflw.expanded::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 208, 255, 0.5);
}

.bento-neoflw.expanded .neoflw-content-expanded {
  opacity: 1;
  max-height: 5000px;
  margin-top: 20px;
  overflow: visible;
}

.neoflw-section {
  margin-bottom: 24px;
}

.neoflw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.neoflw-badge-what {
  background: rgba(255, 47, 179, 0.1);
  border: 1px solid rgba(255, 47, 179, 0.2);
  color: #ff2fb3;
}

.neoflw-badge-is {
  background: rgba(0, 208, 255, 0.1);
  border: 1px solid rgba(0, 208, 255, 0.2);
  color: #00d0ff;
}

.badge-icon {
  font-size: 1rem;
}

.neoflw-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.neoflw-list li {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 2px solid rgba(0, 208, 255, 0.3);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  transition: all 0.2s ease;
}

.neoflw-list li:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #00d0ff;
  transform: translateX(4px);
}

.neoflw-journey {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  padding: 20px;
  background: rgba(0, 208, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 208, 255, 0.1);
  overflow-x: auto;
}

.journey-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 100px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d0ff, #7a2cff);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 208, 255, 0.3);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-content strong {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}

.step-content span {
  font-size: 0.75rem;
  color: var(--muted);
}

.journey-arrow {
  color: #00d0ff;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.neoflw-when {
  margin: 24px 0;
}

.neoflw-when h4 {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 16px 0;
  font-weight: 600;
}

.neoflw-triggers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trigger-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(0, 208, 255, 0.1);
  font-size: 0.85rem;
  color: var(--muted);
  transition: all 0.2s ease;
}

.trigger-item:hover {
  background: rgba(0, 208, 255, 0.08);
  border-color: rgba(0, 208, 255, 0.3);
  transform: translateY(-2px);
}

.trigger-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.neoflw-faq {
  margin: 24px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.neoflw-faq h4 {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 16px 0;
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 208, 255, 0.2);
  background: rgba(0, 208, 255, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-question:hover {
  color: #00d0ff;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: #00d0ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  padding: 0 16px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 16px 16px;
}

.faq-answer p {
  margin: 0 0 12px 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer p strong {
  color: var(--text);
  font-weight: 600;
}

.faq-answer p em {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.faq-answer ul,
.faq-answer ol {
  margin: 8px 0 12px 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.faq-answer li {
  margin: 4px 0;
}

.faq-answer a {
  color: #00d0ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq-answer a:hover {
  color: #7a2cff;
  text-decoration: underline;
}

.neoflw-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.neoflw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.2),
    rgba(122, 44, 255, 0.2)
  );
  border: 1px solid rgba(0, 208, 255, 0.3);
  border-radius: 12px;
  color: #00d0ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.neoflw-link:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.3),
    rgba(122, 44, 255, 0.3)
  );
  border-color: rgba(0, 208, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 208, 255, 0.2);
}

.neoflw-link svg {
  transition: transform 0.3s ease;
}

.neoflw-link:hover svg {
  transform: translateX(4px);
}

/* Responsivo para NEOFLW Card */
@media (max-width: 768px) {
  .neoflw-journey {
    flex-direction: column;
    gap: 16px;
  }

  .journey-arrow {
    transform: rotate(90deg);
  }

  .neoflw-triggers {
    grid-template-columns: 1fr;
  }

  .faq-question {
    font-size: 0.85rem;
    padding: 12px 14px;
  }

  .faq-answer {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .neoflw-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .neoflw-title-section h3 {
    font-size: 1.2rem;
  }

  .neoflw-journey {
    padding: 16px;
  }

  .journey-step {
    min-width: 90px;
  }

  .step-content strong {
    font-size: 0.75rem;
  }

  .step-content span {
    font-size: 0.7rem;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* Estilos comuns para cards com conteúdo */
.bento-item h3 {
  font-size: 1.25rem;
  margin: 0 0 14px 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.bento-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

/* Thumbs (imagens de preview) */
.bento-item .thumb {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  margin-bottom: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
  filter: brightness(0.85) contrast(1.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-item:hover .thumb {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.15);
}

/* Responsivo - Tablet */
@media (max-width: 768px) {
  .bento-container {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(min-content, auto);
    gap: 12px;
    padding: calc(env(safe-area-inset-top) + 70px) 16px
      calc(env(safe-area-inset-bottom) + 80px);
    align-items: stretch;
  }

  .bento-hero {
    grid-column: span 4;
    min-height: 300px;
    height: auto;
  }

  .bento-hero .hero-content {
    padding: 18px 20px 35px;
  }

  .bento-hero .hero-text-simple {
    font-size: 1.6rem;
    margin-top: 18px;
  }

  .bento-flowoff {
    grid-column: span 4;
    min-height: 280px;
    height: auto;
  }

  .bento-neoflw {
    grid-column: span 4;
    min-height: 260px;
    height: auto;
  }

  .bento-neoflw.expanded {
    grid-row: span 3;
  }

  .bento-webapp,
  .bento-dashboard {
    grid-column: span 2;
    min-height: 220px;
    height: 100%;
  }

  .bento-projects {
    grid-column: span 4;
    height: auto;
  }

  .bento-neo,
  .bento-contact {
    grid-column: span 2;
    min-height: 200px;
    height: 100%;
  }
}

/* Responsivo - Mobile */
@media (max-width: 480px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(min-content, auto);
    gap: 10px;
    padding: calc(env(safe-area-inset-top) + 60px) 12px
      calc(env(safe-area-inset-bottom) + 70px);
    align-items: stretch;
  }

  .bento-item {
    padding: 20px;
  }

  .bento-hero {
    grid-column: span 2;
    min-height: 260px;
    height: auto;
  }

  .bento-hero .hero-content {
    padding: 15px 16px 30px;
  }

  .bento-hero .hero-text-simple {
    font-size: 1.5rem;
    margin-top: 15px;
  }

  .bento-flowoff {
    grid-column: span 2;
    min-height: 260px;
    height: auto;
  }

  .bento-flowoff .flowoff-header {
    flex-direction: column;
    text-align: center;
  }

  .bento-neoflw {
    grid-column: span 2;
    min-height: 240px;
    height: auto;
  }

  .bento-neoflw.expanded {
    grid-row: span 2;
  }

  .bento-webapp,
  .bento-dashboard,
  .bento-neo,
  .bento-contact {
    grid-column: span 2;
    min-height: 180px;
    height: auto;
  }

  .bento-projects {
    grid-column: span 2;
    height: auto;
  }

  .bento-projects .projects-logos-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .bento-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .bento-item p {
    font-size: 0.88rem;
  }

  .bento-item .thumb {
    height: 100px;
    margin-bottom: 12px;
  }

  .bento-item::after {
    font-size: 1.5rem;
    top: 16px;
    right: 16px;
  }
}

/* Animação de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bento-item {
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.bento-item:nth-child(1) {
  animation-delay: 0.05s;
}
.bento-item:nth-child(2) {
  animation-delay: 0.08s;
}
.bento-item:nth-child(3) {
  animation-delay: 0.11s;
}
.bento-item:nth-child(4) {
  animation-delay: 0.14s;
}
.bento-item:nth-child(5) {
  animation-delay: 0.17s;
}
.bento-item:nth-child(6) {
  animation-delay: 0.2s;
}
.bento-item:nth-child(7) {
  animation-delay: 0.23s;
}
.bento-item:nth-child(8) {
  animation-delay: 0.26s;
}
